Hi all,
I have created new application but when i start
Tomcat 5.0 it prints the following error in DOS windown for my application while it loads all its other applications successfully and i can
use the examples of
servlets &
JSP.
Error is:
Installing web application at context path /myapp from URL D:/Jakarta-tomcat-5\webapps\myapp
jul 15,2004 11:50:00 AM org.appache.commons.digester.Digester fatal error
SEVER: Parse Fatal Eorror at line 2 column 6: The processing instruction target matching "[xX][mM][lL] is not allowed
org.xml.sax.SAXParse Exception: The processing instruction target matching
"[xX][mM][lL] is not allowed
Directory structure is,
/webapps/myapp/WEB-INF/web.xml
/webapps/myapp/WEB-INF/classes/ (all
java classes are here)
/webapps/myapp/myapp.xml
---contents of myapp.xml---
<Context path="/myapp" docbase="" debug = "0" privileged="true">
</Context>
---contents of web.xml---
<web-app>
<servlet>
<servlet-name>s1</servlet-name>
<servlet-class>classes.homeservlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>s1</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
</web-app>
needs help.
Thnx
Naveed