This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

JavaRanch » Java Forums » Java » JSP
Bookmark "Struts redirect tag" Watch "Struts redirect tag" New topic

Struts redirect tag

Kashif Iqbal Khan

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:
subject: Struts redirect tag
It's not a secret anymore!