Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java Open Source > Apache Tomcat
|
Apache Tomcat General discussion of the Apache Tomcat servlet container. For discussions specific to the Professional Apache Tomcat book, please see the book discussion forum for that book.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Apache Tomcat section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 28th, 2013, 08:54 AM
Registered User
 
Join Date: Mar 2013
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question tomcat et EL 2.2 (managedbean)

Hello everyone,

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

Quote:
<h: commandButton id = "testButton" value = "Test Button"
actionListener = "# {testBean.someMethod ('someString')}" />
Quote:
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.





Similar Threads
Thread Thread Starter Forum Replies Last Post
El Gamal Encryption Shay.Uzey BOOK: Beginning Cryptography with Java 3 April 11th, 2011 06:32 PM
Problem with EL in JSP IronStar JSP Basics 1 January 31st, 2007 11:54 PM
EL Syntax error savoym JSP Basics 0 November 2nd, 2006 04:48 PM
About EL motofree Java Basics 0 March 1st, 2006 05:07 AM
JSP2 EL/JSTL being ignored ronMasters JSP Basics 0 February 23rd, 2006 07:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.