Hi Wendy, Sorry I wasn't able to attend to this earlier.
The value of <%= pageContext.getAttribute("username") %> is [EMAIL PROTECTED] What do you think I should do? Thanks Richard On 7/7/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]