tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noble Long" <>
Subject jsp redirect problem under IIS
Date Sat, 13 Oct 2001 00:08:55 GMT
I have a jsp page that is either redirecting to other pages or displaying
output depending on the value of session variables(true in this case), which
by the way works fine under Tomcat (http://localhost:8080/). This is not
working under IIS using Tomcat as a servlet container. Here is some of the
jsp code -

String sInbOrd = (String)session.getValue("InbOrd");
  if(sInbOrd == null){
    sInbOrd = "N";


 Under IIS, it does not redirect to noSecurity.jsp instead it displays the
page I'm redirecting from -

HTTP/1.1 302 Found Server: Microsoft-IIS/5.0 Date: Fri, 12 Oct 2001 23:58:08
GMT Content-Type: text/html Location:
http://localhost/WebSynapse/noSecurity.jsp Content-Length: 175
Servlet-Engine: Tomcat Web Server/3.2.1 (JSP 1.1; Servlet 2.2; Java 1.3.1;
Windows 2000 5.0 x86; java.vendor=Sun Microsystems Inc.)
Document moved

This document has moved here.

<Then the rest of the current page. Which should not be displayed since
there was a redirection.>
Any help would be appreciated.


View raw message