M
Mike Landis
Hello,
Does HttpServletResponse.sendError allways return HTML to client?
I have a third part vendor's MVC framework that uses
HttpServletResponse.sendError when an exception occurs. If I have
browser client everytgunh is ok.
When I have a WAP client it seems to be so that
HttpServletResponse.sendError
is not suitable because it does not return WML/UTF-8 and does not use
error-page tags defined in Web.xml file.
Are there any other ways to invoke errorpage defined to web.xml than
HttpServletResponse.sendError when exception occurs?
RequestDispatcher's forward is not good because it needs programming
and I liked to use container's
automatic errorpage calling mechanism.
Best regards,
Does HttpServletResponse.sendError allways return HTML to client?
I have a third part vendor's MVC framework that uses
HttpServletResponse.sendError when an exception occurs. If I have
browser client everytgunh is ok.
When I have a WAP client it seems to be so that
HttpServletResponse.sendError
is not suitable because it does not return WML/UTF-8 and does not use
error-page tags defined in Web.xml file.
Are there any other ways to invoke errorpage defined to web.xml than
HttpServletResponse.sendError when exception occurs?
RequestDispatcher's forward is not good because it needs programming
and I liked to use container's
automatic errorpage calling mechanism.
Best regards,