Two Laptop Bag*
The moose likes JSP and the fly likes Struts redirect tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Struts redirect tag" Watch "Struts redirect tag" New topic
Author

Struts redirect tag

Kashif Iqbal Khan
Greenhorn

Joined: Dec 22, 2001
Posts: 13
I am building a website that offers activities ony if a registered user is login so on every page user login
information is checked and if it is not found the request is redirected to login page. My login page is index.jsp.
Below is the page which is displayed when the user successfully logs on. Problem is this is not working for
redirecting the user. It do prints on Console the message which shows tha page is succefully included but the
request is not redirected to the login page neither any error is shown
Can any1 figure out where am I going wrong. I am using struts 1.0 and Tomcat 4.0

<!-- Code for start.jsp-->

<!-- Code for /src/jsp/redirect.jsp-->


Kashif I. Khan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts redirect tag
 
Similar Threads
jsp:include not working
Tiles problem
Struts 1.1 : Template is creating problem
Struts template tag does not work properly in VisualAge for Java WTE
problem with templetes