i have used interceptors as follows
<action name="xx" method="xx" class="xx">
<result name="xx">/xx.jsp</result>
<interceptors-ref="prepare"/>
</action
and implemented the prepare in action as follows
public class xx extends ActionSupport implements Preparable {
public void prepare(){
}
public
String xx() throws Exception {
return "xx";
}
}
thanks