To configure the default error page in a webproject in java
first open web.xml
and insert the following example code
<error-page>
<error-code>500</error-code>
<location>/error.jsp</location>
</error-page>
and then create the error information page that is error.jsp.
No comments:
Post a Comment