You can use JSP EL just fine (I'd still suggest getting rid of Scriplets,
they're just bad mojo), you just can't pass them to the Struts Tags as
attributes. You can use your own JSP Tag Libraries (I do), and use EL
anywhere on the page with the exception of the tag attributes. And
there are alte
Thanks a lot Chris.
I tried with the option and it is working fine :).
We will think about the security risk and decide whether to update or not.
But as you mentioned that JSP EL is not supported in struts this mean old
JSP applications (which uses scriptlet or JSP EL) either can not be upgraded
or
JSP Expressions are not allowed in the Struts 2 Tag Libs because of security
concerns allowing hackers to use JSP EL to inject OGNL into the tags to do
bad things. If you don't care about this problem, you can copy the struts
.tld file out of the struts.jar file and add true
to all the attributes,
Hi,
We are in the process to upgrade our application. Currently our aplication
is on
*Weblogic: 8.1sp5
Java: 1.4
Struts: 1.2 *
We are upgrading it to:
*Server: Weblogic 10.3
Java: 1.6.0_5
Current Struts: 2.0.14
*We are facing issue with jsp expression in struts tag.
All the expression which uses JS
4 matches
Mail list logo