Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between calling back bean method using parenthesis and without parenthesis in jsf? [duplicate]

Tags:

jsf

what is the difference between

  <h:commandLink actionListener="#{serviceProviderBean.method}" value="Save" />

and

 <h:commandLink actionListener="#{serviceProviderBean.method()}" value="Save" />

is both invoke same method or any error in above code

like image 666
Tibin Varghese Avatar asked Sep 07 '25 13:09

Tibin Varghese


1 Answers

Second will not work under tomcat6, it will work with tomcat7/jSF2

like image 78
Armen Arzumanyan Avatar answered Sep 09 '25 03:09

Armen Arzumanyan