I am having this weird problem with
Tomcat v.5.5.20 . I have a simple
JSP that sets a session attribute (session key) and has a form with a couple of text input fields and a submit button. The action of the form is another JSP and the method is post. The other JSP reads the session attribute. If I browse these JSPs locally I have no problems reading the session attribute in the second JSP. But if I do it from another computer, the seconds JSP gets a null value for the attribute. It looks like the session has been lost. Any ideas of what I am doing wrong or if there is any setting missing in Tomcat? Here's the code for the JSPs.
test1.jsp
test2.jsp
Thanks
Fernando
[ August 22, 2007: Message edited by: Fernando Margueirat ]
[ August 22, 2007: Message edited by: Fernando Margueirat ]
[ August 23, 2007: Message edited by: Fernando Margueirat ]