Hi all,
here's a scenario:I have some methods that before executed, they should run
an interceptor --to verify if the user is authorized to do something.
I read that struts2 has a @before @after interceptors that could help here.
here's my though
@before
public String activateProcess()
{
//do something here
}
so in this case, since the method has a @before - it will execute the
@before's interceptor first and only then the method activateProcess
(assuming all is well with the interceptor)
how can I implement the @before???
Thanks for any pointers.
--
View this message in context:
http://www.nabble.com/howto-implement-a-%40before-annotation---tp21915451p21915451.html
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]