Re: Tomcat 5.5.23 request.getAttribute("foo") returns unexpected NULL

2010-08-23 Thread Thomas Treitlinger
Hello Chris and Konstantin, thanks for all your suggestions - we finally tracked down the issue, and it turns out the root cause here was a flawed deployment process. In order to preserve the application's context.xml file during software upgrades, our service engineers stop Tomcat, then remove t

Re: Tomcat 5.5.23 request.getAttribute("foo") returns unexpected NULL

2010-08-13 Thread Thomas Treitlinger
Hi Chris, thanks for your reply. Using your code, I get the same output, and unable to print the value using , but that's not what I'm trying to do. Most of the time this application works as intended, here is some more detail: * The JSPs are dumb landing pages - only used to track which URL was

Tomcat 5.5.23 request.getAttribute("foo") returns unexpected NULL

2010-08-12 Thread Thomas Treitlinger
Hello, I have a number of JSP pages which use the JSTL core library to set a request attribute like this: FOO-VALUE The JSPs then forward to a Servlet like this: The Servlet later invokes String s = (String) request.getAttribute("foo") At this point I would expect s to be "FOO-VALUE". However