Scott Purcell wrote:
if (req.getServletPath().equals(onFailure)) {
[...]
resp.sendRedirect(req.getContextPath() + onFailure);Are you sure that getServletPath() and getContextPath() + onFailure are the same thing? My impression is that getServletPath() may not be returning what you think it is; check the J2EE JavaDocs and see if that's really what you want.
Also, might as well create a class logger rather than instantiating one every time through.
Dave
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]