Etsi tuesta

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Is there any problem in showing custom error page for Erro code 408 with Firefox?

  • Ei vastauksia
  • 4 henkilöllä on sama ongelma
  • 5 näyttöä
more options

I want to capture Http error codes like 400,404,408. I have written a custom JSP (called as error.jsp)which contains the error message containing more than 512 characters. I have configured error codes in web.xml with the error codes as follows:

<error-page> <error-code>408</error-code> <location>/errorPages/error.jsp</location> </error-page> <error-page> <error-code>400</error-code> <location>/errorPages/error.jsp</location> </error-page>

This shows me my custom error page for all the error codes for browser like IE and Google Chrome. For firefox it shows me the custom error page for error code 400 but it does not show me custom error page for error code 408, rather it shows the following error:

The connection to the server was reset while the page was loading. How to get the custom error page for error 408 in Firefox.

I want to capture Http error codes like 400,404,408. I have written a custom JSP (called as error.jsp)which contains the error message containing more than 512 characters. I have configured error codes in web.xml with the error codes as follows: <error-page> <error-code>408</error-code> <location>/errorPages/error.jsp</location> </error-page> <error-page> <error-code>400</error-code> <location>/errorPages/error.jsp</location> </error-page> This shows me my custom error page for all the error codes for browser like IE and Google Chrome. For firefox it shows me the custom error page for error code 400 but it does not show me custom error page for error code 408, rather it shows the following error: '''The connection to the server was reset while the page was loading. ''' How to get the custom error page for error 408 in Firefox.