struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dravid <sun.n...@gmail.com>
Subject Re: How to redirect to the same page
Date Tue, 12 Feb 2008 18:30:43 GMT

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.
> 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 <sun.naru@gmail.com> 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
>> sell-page should be shown. If he clicks on buy the buy-page should be
>> shown
>> after login. Is there an elegant way to do this?"
>>
>> please help with a piece of code.
>>
>> thanks in advance
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-redirect-to-the-same-page-tp15436570p15436570.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
> 
> 
> -- 
> Wesley Wannemacher
> President, Head Engineer/Consultant
> WanTii, Inc.
> http://www.wantii.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-redirect-to-the-same-page-tp15436570p15439623.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message