EL comes with the Servlet 2.4 spec which is supported in Tomcat 5x. I believe
you may be able to get EL like behaviour with the Struts-EL taglib, but you
won't get it out of the box on Tomcat 4.
Allistair.
-Original Message-
From: Richard Reyes [mailto:[EMAIL PROTECTED]
Sent: 07
Hi Guys/Allistair,
I got this code .
bean:cookie name=%= Konstants.COOKIE_USERNAME % id=username/
.
.
.
td align=lefthtml:text property=usernamesize=15
value=${username.value} //td
Any suggestions how to access the cookie value?
Thanks
Richard
On 7/7/05, Allistair Crossley [EMAIL
Yes it will be in pageContext, so
%= pageContext.getAttribute(username) %
Hi Guys/Allistair,
I got this code .
bean:cookie name=%= Konstants.COOKIE_USERNAME % id=username/
.
.
.
td align=lefthtml:text property=usernamesize=15
value=${username.value} //td
Any suggestions how
Thanks Allistair,
But it throws an error...
E:\LABDRIVE\jakarta-tomcat-5.0.28\work\Catalina\localhost\wds-ap\org\apache\jsp\bigler\serverpages\login_jsp.java:237:
cannot resolve symbol
symbol : method setValue (java.lang.Object)
location: class org.apache.struts.taglib.html.TextTag
Hi Allistair,
This is the value of
[EMAIL PROTECTED]
%= pageContext.getAttribute(username) %
On 7/7/05, Richard Reyes [EMAIL PROTECTED] wrote:
Thanks Allistair,
But it throws an error...
-
From: Richard Reyes [mailto:[EMAIL PROTECTED]
Sent: 07 July 2005 10:24
To: Allistair Crossley
Cc: Tomcat Users List
Subject: Re: EL not working...
Thanks Allistair,
But it throws an error...
E:\LABDRIVE\jakarta-tomcat-5.0.28\work\Catalina\localhost\wds-
ap\org\apache\jsp\bigler
What do you mean by not working? It's like saying Tomcat 5 is not
working and you want help :-)
Please add example/config/more info about what you are trying to do.
Look at the jsp-eamples also. The EL the is working!
-- Jeanfrancois
Wade Chandler wrote:
Has anyone been able to use the
OK. What I have found to be the issue is that you have to define a
context. If you don't for some reason that given directory can run
jsp's and tag libraries fine, but the EL does not work in them. The
setup I had was for a different host. So I had only defined my base
context. Then I had a
Heh?
-Tim
Wade Chandler wrote:
OK. What I have found to be the issue is that you have to define a
context. If you don't for some reason that given directory can run
jsp's and tag libraries fine, but the EL does not work in them. The
setup I had was for a different host. So I had only