Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tomcat with EL 2.2(expression languge ManagedBean)

Status
Not open for further replies.

feres

Programmer
Mar 28, 2013
1
TN
Hello everyone,

While using ManagedBean and more specifically in the methods, parameter passing is not allowed with the EL (expression language) at the HMI:

Code:
<h: commandButton id = "testButton" value = "Test Button"
     actionListener = "# {testBean.someMethod ('someString')}" />

Code:
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top