-
1. Re: pase error -- type
jleech Jan 29, 2004 4:18 PM (in response to yibingli)"jleech" wrote:
just a guess but check your doctype in web.xml, perhaps its not the servlet 2.3 one. e.g. <!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd"> -
2. Re: pase error -- type
yibingli Jan 30, 2004 9:43 AM (in response to yibingli)Thanks a lot. That was the problem and after I fixed that and re-order my web.xml, I still got the following two errors:
2004-01-30 09:43:25,266 ERROR [org.apache.commons.digester.Digester] Parse Error at line 8 column 7: Element type "urn" must be declared.
org.xml.sax.SAXParseException: Element type "urn" must be declared.
org.xml.sax.SAXParseException org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(org.apache.xerces.xni.parser.XMLParseException)
ErrorHandlerWrapper.java:232
and
2004-01-30 09:43:25,391 ERROR [org.apache.commons.digester.Digester] Parse Error at line 23 column 10: The content of element type "taglib" must match "(tlibversion,jspversion?,shortname,uri?,info?,tag+)".
org.xml.sax.SAXParseException: The content of element type "taglib" must match "(tlibversion,jspversion?,shortname,uri?,info?,tag+)".
org.xml.sax.SAXParseException org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(org.apache.xerces.xni.parser.XMLParseException)
ErrorHandlerWrapper.java:232
void org.apache.xerces.util.ErrorHandlerWrapper.error(java.lang.String, java.lang.String, org.apache.xerces.xni.parser.XMLParseException)
ErrorHandlerWrapper.java:173
it looks like this is related to taglibs. in my web.xml:
<taglib-uri>/tags/struts-bean</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
Do you see anything wrong?
Thanks a lot.
Yibing