Eugen Stoianovici wrote:
i'm trying to use a custom filter to implement authorization and i can't
get the damned thing to work (i'm an absolute beginner, be warned).
i'm using struts2.0.8 with tomcat 5.5
my doFilter method looks like this
public class AuthorizationFilter implements Filter {
pub
Sorry, but why go the hard way when you can achieve the same with a simple
interceptor? You can return a global result from a interceptor (f.ex. return
"errorPage") which is lot simpler than getting tangled with the
RequestDispatcher stuff.
On 8/10/07, Toni Lyytikäinen <[EMAIL PROTECTED]> wrote:
>
Sorry, but why go the hard way when you can achieve the same with a simple
interceptor? You can return a global result from a filter (f.ex. return
"errorPage") which is lot simpler than getting tangled with the
RequestDispatcher stuff.
On 8/10/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote:
>
> i
i'm trying to use a custom filter to implement authorization and i can't
get the damned thing to work (i'm an absolute beginner, be warned).
i'm using struts2.0.8 with tomcat 5.5
my doFilter method looks like this
public class AuthorizationFilter implements Filter {
public void doFilter(ServletR
4 matches
Mail list logo