Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

redirect to error page upon session timedout

 
Yellaiah Gopireddy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64855
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.

Servlet filters are often employed for this purpose.
 
Yellaiah Gopireddy
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Bear Bibeault.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic