when i tried to execute the simple hellow world sample in
struts in eclipse its giving me a error in web xml file stating
The processing instruction must begin with the name of the target. web.xml (path where the web xml file is placed/StrutsExample1/WebContent/WEB-INF )
please help me in decoding this error . the code of that web xml is
<?
xml version="1.0" encoding="UTF-16"?>
<
web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<
display-name>StrutsExample1</display-name>
<
servlet>
<
servlet-name>action</servlet-name>
<
servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<
init-param>
<
param-name>config</param-name>
<
param-value>/WEB-INF/struts-config.xml</param-value>
</
init-param>
<
load-on-startup>2</load-on-startup>
</
servlet>
<
servlet-mapping>
<
servlet-name>action</servlet-name>
<
url-pattern>*.do</url-pattern>
</
servlet-mapping>
<
welcome-file-list>
<
welcome-file>index.jsp</welcome-file>
</
welcome-file-list>
</
web-app>