>From what little I see, this is what you'll have to change:

1. A JSP 2.0 container uses JSTL 1.1.x  You'll have to use the latest
JSTL 1.0.x taglib.  Note that the URI for those two versions are
different.  Make sure you use the correct one.

2. A JSP 1.2 container does not natively evaluate EL expressions in
attribute values, except for the ones in the JSTL tags.  Fortunately,
you're using the Struts taglib.  In a JSP 1.2 container, you should use
the Struts-EL taglib instead of the default Struts taglib (although
you'll need both the strutsel and struts jars), as Struts-EL uses code
to pass attribute values through the Jakarta EL engine.  In your
struts-el taglib definitions, make it use the same prefix as the regular
taglib, so you don't have to change the tags themselves.  Just change
the URI to match struts-el.

> -----Original Message-----
> From: chuanjiang lo [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, June 14, 2006 9:07 AM
> To: taglibs-user@jakarta.apache.org
> Subject: Evaluating expression in 2.3 specifications
> 
> Hi all,
> 
> I have developed my web application based on 2.4 
> specifications and now i have to deploy onto a server that is 
> based on the 2.3 specifications.
> 
> I have change the web.xml conforming to 2.3 specifications 
> and the expression in my jsp page is not being evaluated. I 
> have read on the net and realize that 2.4 specifications 
> would evaluate the expression.
> 
> So what should i do now so that my expression can be 
> evaluated and i do not wish to change the implementation of my codes.
> 
> Appreciate any help
> 
> sample of my jsp
> 
> <[EMAIL PROTECTED] uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%> ...
> ..
> <bean:define id="biz_link" type="String" name="Biz_Bean"
> property="business_id"/>
> <html:link 
> action="/viewBiz/ViewBusinessDetail?business_id=${biz_link}">
> 
> ${biz_link} is not evaluated.
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to