aspose file tools*
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
Author

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");

if(oSec==null)
{
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="/PRD.do"/>

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

Any ideas?

this is reallky spooky!

thanks

harry
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
 
Don't get me started about those stupid light bulbs.
 
subject: Strange session timeout problem?