struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diego Manilla Suárez <>
Subject Send a 403 response
Date Tue, 31 May 2005 09:10:17 GMT
Hi! I need to implement some kind of security inside of an Action. When 
the user doesn't meet certain criteria, I must send him to the 
"forbidden" page. Right now I'm doing this:

if (!allowed) {
    return null;

The problem is that the user is sent to the default error page of 
Tomcat, instead of the 403 page defined in web.xml. Are the lines above 

Thanks in advance.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message