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 <rtexprvalue>true</rtexprvalue>
to all the attributes, and it will allow you to use EL, at your user's risk.
  (*Chris*)

On Fri, Feb 11, 2011 at 11:26 PM, Ashish Shrivastava
<ashish....@gmail.com>wrote:

> 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 JSP variable as <%=name%> are not working and
> getting error "Request time value is not supported".
> As the application is old and there are lots of pages, this will take lot
> of
> time and effort to convert JSP expression to , i just want to know if there
> is any solution for this problem or we strictly need to use OGNL expression
> and change all JSPs.
> Is there any possibility that we can use JSP expression with struts 2.0.14,
> if not then which is the highest version supported for JSP expression.
> I tried with Struts 2.0.8 as mentioned in
>
> http://struts.apache.org/2.0.14/docs/why-cant-i-use-jstl-style-el-expressions-in-struts-tags.htmllink
> but it is also giving the same error.
>
> Thanks & Regards
> Ashish
>

Reply via email to