Your Ad Here

Sunday, June 29, 2008

How to configure Error page in java

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:

Your Ad Here
#chitikatest=doctor