Moderator,
If this topic doesn't belong here,please forward it to the necessary one.
Hi All,
I am trying to create a
struts application manually.
I have created all the necessary folders -
jsp, src & WEB-INF-(lib,classes).
I have compiled my
java files. I have the .tld files and necessary jar files in my lib folder.
My web.xml and struts-config.xml are in WEB-INF.
web.xml
When i deploy my application I get the following error,
DEPLOYMENTS IN ERROR:
Deployment "vfszip:/C:/Documents%20and%20Settings/604848923/My%20Documents/Dow
nloads/jboss-5.0.1.GA/server/default/deploy/MyStruts.war/" is in error due to th
e following reason(s): org.xml.sax.SAXException: cvc-complex-type.2.4.a: Invalid
content was found starting with element 'taglib'. One of '{"http://java.sun.com
/xml/ns/j2ee":description, "http://java.sun.com/xml/ns/j2ee":display-name, "http
://java.sun.com/xml/ns/j2ee":icon, "http://java.sun.com/xml/ns/j2ee":distributab
le, "http://java.sun.com/xml/ns/j2ee":context-param, "http://java.sun.com/xml/ns
/j2ee":filter, "http://java.sun.com/xml/ns/j2ee":filter-mapping, "http://java.su
n.com/xml/ns/j2ee":listener, "http://java.sun.com/xml/ns/j2ee":servlet, "http://
java.sun.com/xml/ns/j2ee":servlet-mapping, "http://java.sun.com/xml/ns/j2ee":ses
sion-config, "http://java.sun.com/xml/ns/j2ee":mime-mapping, "http://java.sun.co
m/xml/ns/j2ee":welcome-file-list, "http://java.sun.com/xml/ns/j2ee":error-page,
"http://java.sun.com/xml/ns/j2ee":jsp-config, "http://java.sun.com/xml/ns/j2ee":
security-constraint, "http://java.sun.com/xml/ns/j2ee":login-config, "http://jav
a.sun.com/xml/ns/j2ee":security-role, "http://java.sun.com/xml/ns/j2ee":env-entr
y, "http://java.sun.com/xml/ns/j2ee":ejb-ref, "http://java.sun.com/xml/ns/j2ee":
ejb-local-ref, "http://java.sun.com/xml/ns/j2ee":service-ref, "http://java.sun.c
om/xml/ns/j2ee":resource-ref, "http://java.sun.com/xml/ns/j2ee":resource-env-ref
, "http://java.sun.com/xml/ns/j2ee":message-destination-ref, "http://java.sun.co
m/xml/ns/j2ee":message-destination, "http://java.sun.com/xml/ns/j2ee":locale-enc
oding-mapping-list}' is expected. @ vfszip:/C:/Documents%20and%20Settings/604848
923/My%20Documents/Downloads/jboss-5.0.1.GA/server/default/deploy/MyStruts.war/W
EB-INF/web.xml[32,10]
Can any one tell me where I might hav gone wrong