From: "Richard Reyes" <[EMAIL PROTECTED]>
> I have this code...
> <bean:cookie name="<%= Konstants.COOKIE_USERNAME  %>" id="username"/>
> down the line i need to access the bean and set it to an input field.
> <html:text property="username"size="20" value="????" />
>
> previously i was using EL but the webapp was deployed in an older
> version of tomcat where EL is not working .

What version are you on now?  I assume you've gone from Tomcat 5 back to
Tomcat 4.1.  If so, then JSTL and Struts-EL will get you close to what you
had.

You can also read the cookie and set the form property in the Action, before
forwarding to the JSP.

Without testing it, I don't see anything wrong with the code you posted,
though.  What does it print? Does it give error messages?

-- 
Wendy Smoak


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

Reply via email to