I do not understand the difference between these two methods. I see that the actionListener accepts an ActionEvent as a parameter, but both can be bound to a method in the bean base.
Is the only functional difference to the ActionEvent parameter? So if I need an ActionEvent to use the listener method, if not, will it work?
actionListener takes an ActionEvent as a parameter and returns void. The action takes no parameters and returns a string that can be used for navigation.
ActionEvent, , . ActionEvent, actionListener. , .
Source: https://habr.com/ru/post/1712489/More articles:ASP.NET MVC in "website project" - asp.net-mvcAjax Combo box with the inscription "Please wait" to load data - javascriptCreating an installation (MSI) to register (regasm) an assembly - c #Problem with reflection in Unit / Integration tests - reflectionProgrammatically determine if a given VOB is installed in ClearCase - clearcasewcf Service Known attribute type attribute - wcfWhat is the best way to save and load in my program? - c #Как я могу ударить встроенное изображение 1px, но не остальную часть строки? - htmlSecurity Recommendations for Web Applications - securityHow to model one-to-one relationships in Django - pythonAll Articles