File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strange session timeout problem?

 
A Harry
Ranch Hand
Posts: 124
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 401
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is your problem the Session or the Forward???
If it`s the foward, post some code.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic