Re: Send a 403 response

2005-05-31 Thread Diego Manilla Suárez
Diego Manilla Suárez wrote: 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) { response.sendError(HttpServletResponse.SC_FORBIDDEN); return nul

Send a 403 response

2005-05-31 Thread Diego Manilla Suárez
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) { response.sendError(HttpServletResponse.SC_FORBIDDEN); return null; } The problem is that the