Hi,
Before and After annotations in
Struts framework used for Interceptor in struts. Interceptors introduced in struts 2.
To use these annotations, you have to specify the AnnotationWorkflowInterceptor to your interceptor stack.
After Annotation->Marks a action method that needs to be executed after the result.
Before Annotation->Marks a action method that needs to be executed before the main action method.
Thank you.
Pyla.