> From: cuco2772 [mailto:[EMAIL PROTECTED] 
> Subject: Re: how to configure (server.xml) for mysql dev with 
> tomcat/JDBC
> 
> A final note on this thread.  I'm wondering about the purpose 
> of having both a web.xml in DBTest/WEB-INF and a context.xml
> in DBTest/META-INF.

Sounds like you need to become familiar with the servlet spec (JSR-154).
The syntax and semantics of web.xml are defined by the spec, but the
<Context> element is unique to Tomcat, defining container-specific items
not covered by the spec.

> First of all, which does tomcat look at first ?

Don't know, and I don't think it matters.  Both have to be examined.
The real question is which one overrides if there are conflicts between
the two; I can't answer it because I haven't looked at that portion of
the code.

> So I was under the impression that META-INF was more normally 
> used to place .jars or .wars,

That's completely wrong.  Jars go into WEB-INF/lib (as required by the
servlet spec); .war files are packaged webapps and must be placed in a
container specified deployment location.

> what does the 'auth' attribute for ?

It specifies whether the container or the webapp is responsible for any
authentication required to utilize the resource.  Again, read the
servlet spec.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to