Hi
I am adding the following error-page directive to web.xml.
<error-page>
<error-code>404</error-code>
<location>/webdev/notfound.jsp</location>
</error-page>
I always get the following error on starting tomcat
Apache Tomcat/4.0.3
PARSE error at line 866 column 11
org.xml.sax.SAXParseException: The content of element type "web-app" must
match
"(icon?,display-name?,description?,distributable?,context-param*,filter*,fil
ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mappin
g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,se
curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-loca
l-ref*)".
I tried putting the error-page directive in tomcat/conf/web.xml and then in
my application context web.xml. But nothing works.
One more question I don't like to see Tomcat's 500 Internal Server error
page or 403 page. I want my customized page to show up. How can I do that?
Thanks
Animesh
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>