aspose file tools*
The moose likes Struts and the fly likes redirecting to login page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "redirecting to login page" Watch "redirecting to login page" New topic
Author

redirecting to login page

sandeep chalishazarwala
Greenhorn

Joined: Dec 28, 2008
Posts: 25
Hello Everybody

I have created web project using struts 1.2. I logged into application using admin user.Now after 5 min or specific time interval i want to redirect my web application to login page. I am using Jboss 4.0 as application server. Can anybody guide me the way.


Thanks
Sandeep

David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

JavaScript.
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874


Sandeep,

Simple way would be to use setTimeout() function in the body onload. And submit the page to the server.

This better suits in Html&Javascript forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: redirecting to login page
 
Similar Threads
Login Page
How to maintain user name in all the Jsp pages
Retrieve current Login ID
Integration of Java Web application into Liferay Portal
Multiple SSL + File Upload