DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25676>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25676 Why the session is invalidaed? Summary: Why the session is invalidaed? Product: Tomcat 5 Version: 5.0.16 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I have two web application,one name is "/one" and other is "/two". Now,one servlet named "test0" in "/one" will request the servlet named "test2" in "/two",the code is : ServletContext sc = request.getSession().getServletContext().getContext("/two"); sc.getRequestDispatcher("/test2").forward(request,response); and there are codes in servlet "test2" : request.getSession().isNew(); then this code throw an Exception:"session is invalidated".I'd like to know the exception is right? If it is right,but the same code worked well in Tomcat4.1.12-LE-jdk1.4. Maybe it is a bug! Regards. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]