Thanks Chuck for pointing that out. Given that everything else goes in WEB-INF, when I was reading the page I misread it every time.

Is there any particular reason the context file goes in META-INF as opposed to WEB-INF?

Mark

On Feb 14, 2006, at 6:16 AM, Caldarale, Charles R wrote:

From: Mark Slater [mailto:[EMAIL PROTECTED]
Subject: Re: Trouble accessing Resources in my Context

So, while this works acceptably (the context information for the
webapp is not included in server.xml), I would *much* prefer to use
the WEB-INF/context.xml the Tomcat docs say I can (the fourth bullet
on this page - http://tomcat.apache.org/tomcat-5.5-doc/config/
context.html). If someone could explain why that doesn't
work, I'd be really appreciative. Is this possibly a known issue?

Read what the bullet actually says, not what you think it says:

  if the previous file was not found for this application,
  in individual file at /META-INF/context.xml inside the
  application files

What directory does it really specify?  (Hint: it's not WEB-INF.)

 - 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 unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to