tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Won <>
Subject session problem
Date Fri, 21 Oct 2005 05:21:04 GMT
I developed a very simple project, there is a jsp page and a servlet. 

In servlet: session.setAttribute("my","abc");

In jsp: String mystring = (String) session.getAttribute("my");

This project works perfect in one of my PC, but when I deployed it to another PC, "mystring"
in jsp always gets a null from the session.

The tomcat version in both PC are exactly same.

Any help would be greatly appreciated! Thank you!


 Yahoo! FareChase - Search multiple travel sites in one click.  
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message