struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hond4 <ho...@gazeta.pl>
Subject Re: Proper way to do it
Date Sat, 19 Mar 2005 12:55:01 GMT
> U must test for the correct password and if the password is wrong to 
> thow an global exception
> That exception u can use at struts-config.xml at
> 
> <!-- ================================= Global Exception Definitions -->
> 
> <global-exceptions>
> </global-exceptions>
> 
> to forward to a page.
> 
> The simplest is to use global-forward

but do I have to test for the correct password in all actions ? is it 
possible to put this test into controller ?

Best regards,
H0nd4



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


Mime
View raw message