PROTECTED] On Behalf Of Jeff Beal
Sent: November 3, 2004 12:32 PM
To: [EMAIL PROTECTED]
Subject: Re: Logon/Logoff Design Question
Let me give you some very quick pseudo-code that might help you:
In SecureAction execute method:
if (request.getSession().getAttribute("username") == null) {
the action that was supposed to run in the
first place!
Any more ideas?
Thanks,
Tim
-Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal
Sent: November 3, 2004 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Logon/Logoff Design Question
2) After a successful login, pu
estroys the ActionForm I have associated with the page, and I
need to keep the form for the action that was supposed to run in the
first place!
Any more ideas?
Thanks,
Tim
-Original Message-----
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal
Sent: November 3, 2004 11:54 AM
To: [EMA
s supposed to run in the
first place!
Any more ideas?
Thanks,
Tim
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Beal
Sent: November 3, 2004 11:54 AM
To: [EMAIL PROTECTED]
Subject: Re: Logon/Logoff Design Question
2) After a successful login, pull that in
Here's what you'll need to do:
1) In your SecureAction class, prior to returning the "login" forward
you need to store the information relevant to the current request in the
session. Note that the word 'relevant' is somewhat subjective, but
probably includes the exact request URI and the full s
Hello all,
As a Struts n00b I'm trying to make a modification to an
already-existing Struts application. Currently there are some Actions
that anyone who uses the application is supposed to be able to execute,
these Actions simply extend Action and override the execute method (as
you'd expect). T
6 matches
Mail list logo