Hi,
My web application structure is as follows:
SendError {contains index.html, form.html}
|
|__WEB-INF {contains web.xml}
|
|_classes
index.html
-------------
<html><title>What is this</title>
<body>This is my body</body>
</html>
form.html
---------
<html>
<body>
This is an error page
<body>
</html>
web.xml
-------
<web-app>
<error-page>
<error-code>200</error-code>
<location>/form.html</location>
</error-page>
</web-app>
I am testing this in Sun Java Application Server, BeaWeblogic, and finally
Tomcat 5.0
If I take out the portion <error-page>...</error-page> from web to xml
then on
http://localhost:85/SendError is giving the index .html.
But if I put the block back in web.xml the output is from form.html.
If anybody can help, on what is happening I will be very grateful.
Thanks,
Caesar