Error Warning

Hello,
I got problem on this warning:
org.xml.sax.SAXParseException: The content of element type “web-app” must match
“(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-
mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welco
me-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-const
raint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)”.

My question is, why is this warning occur in my startup Tomcat?

Now, I can’t run my pass thru servlet sucessfully, I think this error might effect my pass thru servlet test page… :confused:

Regards,

Siti Salmah Md Kassim

This error message comes from the XML parser, it is reporting that an XML document does not conform to the structure defined by the DTD. The document it’s complaining about is the web.xml configuration file in a WEB-INF directory. Check the contents of the file - and if necessary, check that it’s referring to the correct DTD. If you can’t spot the error, post your web.xml file here.

Michael Kay

Hi,
I have question about the passthru servlet, after I already have the working passthru servlet on my PC. is it the final step to determine wether I already can use it to create a spplication using the pass thru servlet?
Thanks





Siti Salmah Md Kassim

I’m sorry, but I don’t understand your question. Could you explain it again?

Have you got rid of this error message yet, or not?

Michael Kay