Hi,

I'm starting with a little project to test new features in struts2. I'm
trying both ways (xml configuration and annotations) but I don't know how to
define interceptors for an action which is defined with interceptors. for a
example my action looks like this:


@Results({
    @Result(value="/jsp/menu.jsp" )})
public class MenuAction{

    public String execute() throws Exception {
        return "success";
    }
}

Know, I thoigut it would be an annotation to define interceptors for this
Action, but I haven't found anything. Does anyone know how to do it???

Have Fun ;)

Reply via email to