I am trying to convert from Tomcat 3.2.1 to 4.0.4. I get invalid xml
parsing errors on app startup. When I remove the taglib elements from my
web.xml file, the app has no startup problems. These tags work fine with
3.2.1. Is this caused by improper installation of the JSTL?

Error:

PARSE error at line 17 column 12

org.xml.sax.SAXParseException: The content of element type "servlet"
must match

"(icon?,servlet-name,display-name?,description?,(servlet-class|jsp-file)

,init-pa

ram*,load-on-startup?,security-role-ref*)".

web.xml excerpt

</servlet-mapping>

<taglib>

<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>

</taglib>

<taglib>

<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-html.tld</taglib-location>

</taglib>

<taglib>

<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>

</taglib>

<taglib>

<taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>

<taglib-location>/WEB-INF/struts-template.tld</taglib-location>

</taglib>

<taglib>

<taglib-uri>/WEB-INF/dbtags.tld</taglib-uri>

<taglib-location>/WEB-INF/dbtags.tld</taglib-location>

</taglib>

</web-app>

Any ideas?

Rob Swan
Director of Operations
Object Publishing Software
Phone:  206-545-6851 ext 128
Email: [EMAIL PROTECTED]
 

Reply via email to