Re: Element "web-app" does not allow "servlet" here

2003-08-08 Thread John Turner
You'll have to do it on a regular basis if you continue to use a DTD of "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd";. Try something like "http://java.sun.com/dtd/web-app_2_3.dtd";. Note "2.3" instead of "2.2". John Jiann-Ming Su wrote: I'm getting a bunch of the errors included below. I'

RE: Element "web-app" does not allow "servlet" here.

2003-06-19 Thread Jiann-Ming Su
On Thu, 19 Jun 2003, Shapira, Yoav wrote: > > Something has to have changed in your local installation then ;) > > Since the file seems fine by that validator and by your colleague's > tomcat installation, it must be something wrong with your installation. > Did you happen to change the digest

Re: Element "web-app" does not allow "servlet" here.

2003-06-19 Thread John Turner
and is the file corrupted? Have you done a sum on your file and matched it to your co-worker's? Are there stray characters in your web.xml, like ^M or something similar, that perhaps aren't being shown in your editor? John On Thu, 19 Jun 2003 13:11:19 -0400, Shapira, Yoav <[EMAIL PROTECTED]>

RE: Element "web-app" does not allow "servlet" here.

2003-06-19 Thread Shapira, Yoav
Howdy, >I changed it to v2.3 before I sent my original email to this list, and it You should keep it at 2.3 if possible. >didn't solve my problem. Again, it was working just fine yesterday for me. >And, it's still working fine for my colleague, but somehow, it's stopped >working for me today.

RE: Element "web-app" does not allow "servlet" here.

2003-06-19 Thread Jiann-Ming Su
On Thu, 19 Jun 2003, Shapira, Yoav wrote: > > 2. Why are you using a servlet specification v2.2 DTD and not v2.3? > I changed it to v2.3 before I sent my original email to this list, and it didn't solve my problem. Again, it was working just fine yesterday for me. And, it's still working fine f

Re: Element "web-app" does not allow "servlet" here.

2003-06-19 Thread Jiann-Ming Su
On Thu, 19 Jun 2003, Tim Funk wrote: > 2 problems: > 1) web.xml is NOT well formed with respect to the dtd http://www.hcrc.ed.ac.uk/~richard/xml-check.cgi?url=http%3A%2F%2Fzenodotus.library.emory.edu%2F%7Ejsu2%2Fweb.xml&validate=on&namespaces=on > 2) You declare servlets but do not map them to U

RE: Element "web-app" does not allow "servlet" here.

2003-06-19 Thread Shapira, Yoav
Howdy, 1. Can you verify the web.xml against the DTD (by using any xml validator, e.g. XMLSpy) ? 2. Why are you using a servlet specification v2.2 DTD and not v2.3? Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Jiann-Ming Su [mailto:[EMAIL PROTECTED] >Sent: Thursda

Re: Element "web-app" does not allow "servlet" here.

2003-06-19 Thread Tim Funk
2 problems: 1) web.xml is NOT well formed with respect to the dtd 2) You declare servlets but do not map them to URLS -Tim Jiann-Ming Su wrote: I'm using jakarta-tomcat-4.1.24-LE-jdk14 with java version 1.4.1_02 on Linux. For some reason, I'm starting to get the following errors from my web.xml: