Tomcat with expresion language (Managedbean)
0 posts in topic
Thread View Thread View

Tomcat with expresion language (Managedbean)...
Thu Mar 28, 2013 05:41 AM

Hello everyone,
While using ManagedBean and more specifically in the methods, parameter passing is not allowed with the EL (expression language) at the IHM:
<h: commandButton id = "testButton" value = "Test Button"
     actionListener = "# {testBean.someMethod ('someString')}" />

level ManagedBean
 public void someMethod (String param) {
     System.out.println ("param:" + param);
But from the EL version 2.2, you can pass a parameter to a method in a ManagedBean.
The problem is that Tomcat does not allow this. I found a solution that speaks of the jar el-impl-2.2.jar but I can not put in place.
Could someone tell me how to make Tomcat uses this jar?
Thank you in advance for your help.
About | Sitemap | Contact