You can't do it without changing your JSPs. It isn't as simple as
wrapping everything with <c:out value="${someVariable}"/> as JSP tags
cannot be nested within attributes. Also, to my knowledge there is no
way to just include some jar file to enable EL exprs.

A suggestion too, your code:
<bean:define id="biz_link" type="String" name="Biz_Bean"
property="business_id"/>
<html:link action="/viewBiz/ViewBusinessDetail?business_id=${biz_link}">

can be rewritten as: <html-el:link
action="/viewBiz/ViewBusinessDetail?business_id=${Biz_Bean.business_id}"/>

HTH,
-ed

On 6/14/06, chuanjiang lo <[EMAIL PROTECTED]> wrote:
i have some other pages that uses <c:if> and etc etc..

I've read on the net and realize that the 2.3 specifications supports only
JSTL 1.0 and it would not evaluate the EL expressions.

So how do i make it evaluate the EL expression without changing my
implementation.




On 6/14/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote:
>
> On 6/14/06, Dave Newton <[EMAIL PROTECTED]> wrote:
> > chuanjiang lo wrote:
> > > <bean:define id="biz_link" type="String" name="Biz_Bean"
> > > property="business_id"/>
> > > <html:link
> action="/viewBiz/ViewBusinessDetail?business_id=${biz_link}">
> >
> > You need to use the EL-enabled tag libs (struts-el or something like
> > that) when you don't have JSP 2.0 available.
> >
> <snip/>
>
> Indeed: http://struts.apache.org/struts-action/struts-el/index.html
>
> -Rahul
>
>
> > Dave
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



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

Reply via email to