File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Strange session timeout problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Strange session timeout problem?" Watch "Strange session timeout problem?" New topic

Strange session timeout problem?

A Harry
Ranch Hand

Joined: Jan 23, 2002
Posts: 124
In each action's execute method I test for the exsistance of a session object that is set at app start up. This will not be present if the session timed out so the plan is like this -

SecurityFlags_DTO oSec = (SecurityFlags_DTO)session.getAttribute("sec");

return (mapping.findForward("startup"));

The trouble is this forward just presents a blank page in the browser, no errors nothing!

The forward "startup" looks like this -

<forward name="startup" path="/"/>

& should restart the app in the correct action i.e

Any ideas?

this is reallky spooky!


Leandro Melo
Ranch Hand

Joined: Mar 27, 2004
Posts: 401
Is your problem the Session or the Forward???
If it`s the foward, post some code.

Leandro Melo
SCJP 1.4, SCWCD 1.4
I agree. Here's the link:
subject: Strange session timeout problem?
jQuery in Action, 3rd edition