Chuck,
On Apr 29, 2008, at 8:37 AM, Caldarale, Charles R wrote:

From: Michael Burbidge [mailto:[EMAIL PROTECTED]
Subject: Where to define Context element...

The Tomcat documentation lists several different places
that you can define a Context element.

Would you like us to guess what Tomcat version you're using, or could
you take the time to tell us?

Sorry, Tomcat 5.5.26.

I don't want to define it in my app's web.xml

That's good, because you can't put a <Context> element in web.xml; read
the documentation again.

Oops, you can make it part of the web application by putting it in / META-INF/context.xml. That's what I was thinking. Sorry. I was just thinking I didn't really want it part of my webapp.

<Context path="/mytest" docBase="mytest"

Neither the path nor the docBase attributes are allowed here; remove
them.

What am I doing wrong?

Look in the logs for anything pertaining to the deployment of this
webapp.

- Chuck

Thanks,
Michael-


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]



---------------------------------------------------------------------
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