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.
Leandro Melo <br />SCJP 1.4, SCWCD 1.4<br /><a href="http://www.pazbrasil.org/" target="_blank" rel="nofollow">http://www.pazbrasil.org/</a>
I agree. Here's the link:
subject: Strange session timeout problem?
How often the listeners as well as filters are used in applications by companies??
Correct way to use getSession() in actions?
Passed with 88%
Is this possible?
Use welcome-file-list to run struts action?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013