Announcement Announcement Module
Collapse
No announcement yet.
session size / general error page Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • session size / general error page

    hi!

    I have 2 different questions:

    (1) how can I determine the size of a user session?
    I'm using a tomcat 5.5.4 webserver.

    (2) how can I provide a general error page?
    (e.g. for HTTP status 500 errors) - so that instead of the error reporting page a general page gets offered for the user.

    tia, lana

  • #2
    Hi,

    (2) You can register a SimpleMappingExceptionResolver in your servlet configuration and set the defaultErrorView to whatever you want.

    Simon

    Comment


    • #3
      question (2) handled

      hi simon!

      thx for your help!
      on second thought and research I decided to use the normal error-page features from web.xml in combination with a multiaction controller like in the spring-countries-sample-application.

      lana

      Comment

      Working...
      X