This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Everything was working fine, until I upgraded to Struts 2.0.11 Now I get the following error and the page blows up
SEVERE: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: /secure/hiring-center/admin/manage-users.jsp(29,22) According to TLD or attribute directive in tag file, attribute value does not accept any expressions.
Anyone having any input on this please help. Thanks in advance.
Joined: Sep 18, 2007
Is there any alternate way instead of using the JSP EL tags, as Struts 2.0.11 does not support this? I need to be able to values from the JSP to the action class.(for eg: checkboxes, links etc)
The only reason for using struts-el tags was to be able to use EL expressions in the tag attributes. Since Struts2 requires a JSP 2.0 compliant web application, and since in JSP 2.0 EL expressions can be used anywhere in the JSP, struts-el tags are no longer needed.
From the documentation: "Struts 2.0.10 corrected a serious security flaw in the Struts 2 tags where using JSP EL expressions could allow malicious OGNL expressions through. All users are encouraged to upgrade to Struts 2.0.11. Note that existing pages that utilize JSP EL expressions with Struts 2 tags will no longer work as of this release."