The dtd (http://java.sun.com/dtd/web-app_2_3.dtd) says that
<welcome-file-list> must appear before <error-page>
-Tim
[EMAIL PROTECTED] wrote:
Hi,
This is my web.xml file. I dont know whats wrong here but my first session
gets expired. When I remove the error-page and welcome file list, then
everything works fine. Am I wrong somewhere?
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<error-page>
<error-code>404</error-code>
<location>/CustomErrorPage.jsp</location>
</error-page>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]