File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "redirecting to login page" Watch "redirecting to login page" New topic

redirecting to login page

sandeep chalishazarwala

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.


David Newton

Joined: Sep 29, 2008
Posts: 12617

Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874


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:
subject: redirecting to login page
It's not a secret anymore!