• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WEB-INF/web.xml-help

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
In my application, the session should expire after one hour so i had configure my web.xml with

<session-config>
<session-timeout>
60
</session-timeout>
</session-config>
it gets redirected to login page after an hour.

the problem is after an hour when i try to login again i got the error

"Dispatch error -Resource not found" .

Please help me
thanks in advance
Dinesh
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dinesh,
Welcome to JavaRanch! I'm not clear on what this has to do with Ant/Maven so I'm moving the thread to our Servlets forum.
 
Bartender
Posts: 2856
10
Firefox Browser Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As your redirection code is not posted, its difficult to say anything.
Just make sure that there are no ResourceUrlProblems.
And please UseAMeaningfulSubjectLine.So that it is more descriptive.

Also take some time to read the ask good questions link below.


Hope this helps
[ August 06, 2008: Message edited by: Amit Ghorpade ]
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You said that after an hour the user get's redirected to the login page. How did you do that. Do you check for user login(through session) on every page and redirect them if they are not logged in or did you do something else?

Please tell so that the I can help you more..
 
Destroy anything that stands in your way. Except this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic