I would want to see lines 1-20 of your web.xml file. The error is on line 17, and has to do with the "servlet" element. It doesn't appear to have anything to do with taglibs.
> -----Original Message----- > From: Rob Swan [mailto:robswan@;objectpublish.com] > Sent: Friday, October 18, 2002 1:32 PM > To: 'Tag Libraries Users List' > Subject: Help with JSTL and Tomcat 4.0.4 - Tomcat Sax Parser Error in > Reading web.xml > > > 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] > > -- To unsubscribe, e-mail: <mailto:taglibs-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>
