I'm not sure exactly what you're asking, but yes.  For example, the Before and 
After annotations, as well as all of the validator annotations.

We've also implemented our own SSLInterceptor class that gets invoked if the 
action class uses a custom @SSLProtected annotation using the following logic 
in the interceptor class:

if (invocation.getAction().getClass().isAnnotationPresent(SSLProtected.class)){
    //... redirect to HTTPS
}


----- Original Message ----
From: Guilherme <[EMAIL PROTECTED]>
To: Struts Users Mailing List <user@struts.apache.org>
Sent: Monday, May 14, 2007 3:05:37 PM
Subject: [S2] Interceptor annotations

Hi,

There is a way to configure interceptor via annotations ? or this feature is
not available yet ?

Thanks!
-- 
Att
Guilherme Mello do Nascimento
PortalJava.com - A maior comunidade Java do Brasil




Reply via email to