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
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
2 matches
Mail list logo