File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Strange session timeout problem?
Joined: Jan 23, 2002
Aug 04, 2004 05:38:00
In each action's execute method I
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");
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
this is reallky spooky!
Joined: Mar 27, 2004
Aug 04, 2004 09:40:00
Is your problem the Session or the Forward???
If it`s the foward, post some code.
SCJP 1.4, SCWCD 1.4
It is sorta covered in the
JavaRanch Style Guide
subject: Strange session timeout problem?
Passed with 88%
Is this possible?
Use welcome-file-list to run struts action?
Correct way to use getSession() in actions?
How often the listeners as well as filters are used in applications by companies??
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013