Server side. Thing is that we have container based security and I just
need to check and make sure the userid is set. If it isn't, force the
user to the page where that happens.

I could write an interceptor but this seems like re-inventing the
wheel as it seems like there should be something out there that will
do this already.


Jim C.

> 2009/5/26 Jim Collings <jlistn...@gmail.com>:
>> How can I force the user to go to a specific page, if a specific
>> property is set?
>
> With JavaScript? Or if you mean server side solution, in execute()
> method return different result namr base on that property which is
> defined as a redirect to page you want.
>
>
> Regards
> --
> Lukasz
> http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

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

Reply via email to