File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes Struts redirect tag Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Struts redirect tag
 
Similar Threads
Struts 1.1 : Template is creating problem
Tiles problem
problem with templetes
jsp:include not working
Struts template tag does not work properly in VisualAge for Java WTE