1. Test Application:
______________________________________________
<jsp:include page="ChkLogin.jsp">
<jsparam name="APPL" value="PAYROLL" />
</jsp:include>
<%
int iSession = tomcatsecurity.SessionGuard.getActiveSessions();
%>
<HTML><HEAD><BODY >...
______________________________________________
2. ChkLogin.jsp - this page forward to signon page.
______________________________________________
<% sTarget = "/SignOn.jsp";
session.getServletContext().getRequestDispatcher(sTarget).forward(request, response); %>
______________________________________________
3. Signon page
______________________________________________
<% out.println("SignOn 1"); %>
______________________________________________
4. Apache httpd.conf - this is how it envolve the tomcat4:
ProxyVia On
ProxyPass /intranet/ ProxyPassReverse /intranet/
After I call the first page tomcat throw me a IlligalState error for ApplicationDispatcher:
ApplicationDispatcher[] Servlet.service() for servlet default threw exception
java.lang.IllegalStateException
Please, tell me what I did wrong?
______________________________________________
<jsp:include page="ChkLogin.jsp">
<jsparam name="APPL" value="PAYROLL" />
</jsp:include>
<%
int iSession = tomcatsecurity.SessionGuard.getActiveSessions();
%>
<HTML><HEAD><BODY >...
______________________________________________
2. ChkLogin.jsp - this page forward to signon page.
______________________________________________
<% sTarget = "/SignOn.jsp";
session.getServletContext().getRequestDispatcher(sTarget).forward(request, response); %>
______________________________________________
3. Signon page
______________________________________________
<% out.println("SignOn 1"); %>
______________________________________________
4. Apache httpd.conf - this is how it envolve the tomcat4:
ProxyVia On
ProxyPass /intranet/ ProxyPassReverse /intranet/
After I call the first page tomcat throw me a IlligalState error for ApplicationDispatcher:
ApplicationDispatcher[] Servlet.service() for servlet default threw exception
java.lang.IllegalStateException
Please, tell me what I did wrong?