Developer
Nuvox Communications
> From: Dravid <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List
> Date: Wed, 13 Feb 2008 07:34:36 -0800 (PST)
> To:
> Subject: Re: How to redirect to the same page
>
>
> please some one help me
>
> thanks in advanc
Randy already gave you an answer.
In the interceptor that checks for a logged-in user (or an action subclass,
but an interceptor is probably better) save the URL that was being requested.
After login check for the presence of this URL and if there redirect to it.
It's unlikely you'll get many ans
please some one help me
thanks in advance
Dravid wrote:
>
> Hi,
>
> After a successful login I don't want to redirect the user to a hardcodes
> page, but I want the user to be redirected where he wanted to go. E.g. if
> a user clicks on 'sell' he will be forced to log in and after login the
I would save the action name as a string in the users session and then
redirect to that location once auth is complete. That is the way I have done
it in the past.
Regards,
Randy Burgess
Sr. Web Applications Developer
Nuvox Communications
> From: Dravid <[EMAIL PROTECTED]>
> Reply-To: Struts Us
thanks for reply,
I have not implemented any Authentication and Authorization. I want to do it
manually using struts2 tags
Wes Wannemacher wrote:
>
> How are you performing the Authentication and Authorization? If you
> are using container managed security, this will be done automagically.
> A
How are you performing the Authentication and Authorization? If you
are using container managed security, this will be done automagically.
As an example, here are the docs for setting this up in Tomcat 5.5.x
->
http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html
-Wes
On 2/12/08, Dravid <[EM
6 matches
Mail list logo