File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes redirect to error page upon session timedout Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "redirect to error page upon session timedout" Watch "redirect to error page upon session timedout" New topic
Author

redirect to error page upon session timedout

Yellaiah Gopireddy
Greenhorn

Joined: Mar 24, 2007
Posts: 12
Hi,

I am building one web application using struts1.1. I wanted to redirect to one error page if session gets timed out and implemented in programmatic way using servlet API as I couldn't find solution in a declarative way.

I have gone through the previous posts but all of those explained programmatic way... And I couldn't find any tag in web.xml for my requirement.


can we achieve this in a declarative way. If yes, could you please explain it.

Thanks in advance.

~YGR
[ September 20, 2008: Message edited by: Yellaiah Gopireddy ]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60053
    
  65

No.

Servlet filters are often employed for this purpose.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Yellaiah Gopireddy
Greenhorn

Joined: Mar 24, 2007
Posts: 12
Thank you Bear Bibeault.
 
wood burning stoves
 
subject: redirect to error page upon session timedout
 
Similar Threads
Session Problem
need help,2 questions
Where do I put method-permission for allowed method calls
Transactions
controlling maxActiveSessions