RE: serving static content

2004-07-09 Thread Mike Curwen
Tomcat will serve static content, pretty much out of the box. What is the problem you're experiencing ? -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 3:27 PM To: Tomcat Users List Subject: serving static content Does there exist

Re: serving static content

2004-07-09 Thread Matthew Hixson
I'm trying to serve images from /usr/local/watermarks. The URL should be http://mymachine.com/watermarks/. I've tried adding a Context to server.xml, but every time I try to access http://mymachine.com/watermarks I get a 404 message: The requested resource (/watermarks/) is not available.

RE: serving static content

2004-07-09 Thread Jim Cox
are not the intended recipient, please notify the sender immediately by reply e-mail and delete all copies of this message and attachments. Thank you. -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Fri 09 July 2004 4:54 pm To: Tomcat Users List Subject: Re: serving

RE: serving static content

2004-07-09 Thread CAGALLOM
PLaese no send emailthank you -Mensaje original- De: Matthew Hixson [mailto:[EMAIL PROTECTED] Enviado el: Viernes 9 de Julio de 2004 15:54 Para: Tomcat Users List Asunto: Re: serving static content I'm trying to serve images from /usr/local/watermarks. The URL should be http

Re: serving static content

2004-07-09 Thread Matthew Hixson
recipient, please notify the sender immediately by reply e-mail and delete all copies of this message and attachments. Thank you. -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Fri 09 July 2004 4:54 pm To: Tomcat Users List Subject: Re: serving static content I'm

RE: serving static content

2004-07-09 Thread Mike Curwen
To unsubscribe, e-mail: [EMAIL PROTECTED] ! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 3:57 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: serving static content PLaese no send emailthank you

RE: serving static content

2004-07-09 Thread Mike Curwen
: serving static content I'm trying to serve images from /usr/local/watermarks. The URL should be http://mymachine.com/watermarks/. I've tried adding a Context to server.xml, but every time I try to access http://mymachine.com/watermarks I get a 404 message: The requested resource

RE: serving static content

2004-07-09 Thread Jim Cox
and attachments. Thank you. -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Fri 09 July 2004 4:59 pm To: Tomcat Users List Subject: Re: serving static content Host name=localhost debug=99 unpackWARs=true autoDeploy=true xmlValidation=false

Re: serving static content

2004-07-09 Thread Matthew Hixson
: Re: serving static content I'm trying to serve images from /usr/local/watermarks. The URL should be http://mymachine.com/watermarks/. I've tried adding a Context to server.xml, but every time I try to access http://mymachine.com/watermarks I get a 404 message: The requested resource (/watermarks

RE: serving static content

2004-07-09 Thread Jim Cox
recipient, please notify the sender immediately by reply e-mail and delete all copies of this message and attachments. Thank you. -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Fri 09 July 2004 5:09 pm To: Tomcat Users List Subject: Re: serving static content I

Re: serving static content

2004-07-09 Thread Matthew Hixson
PROTECTED] Sent: Fri 09 July 2004 5:09 pm To: Tomcat Users List Subject: Re: serving static content I actually did try this already. I have a WEB-INF with a web.xml in it. The entire web.xml is: --- ?xml version=1.0? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web

RE: serving static content

2004-07-09 Thread Mike Jackson
. Thank you. -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Fri 09 July 2004 5:09 pm To: Tomcat Users List Subject: Re: serving static content I actually did try this already. I have a WEB-INF with a web.xml in it. The entire web.xml

Re: serving static content

2004-07-09 Thread Matthew Hixson
it in the manager. Or it might be that tomcat, for whatever reason, isn't starting the context. --mikej -=- mike jackson [EMAIL PROTECTED] -Original Message- From: Matthew Hixson [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 2:48 PM To: Tomcat Users List Subject: Re: serving static content

Re: serving static content

2004-07-09 Thread QM
On Fri, Jul 09, 2004 at 01:58:40PM -0700, Matthew Hixson wrote: : Host name=localhost debug=99 :unpackWARs=true autoDeploy=true :xmlValidation=false xmlNamespaceAware=false : : Context path=/watermarks appBase= : docBase=/usr/local/watermarks :

Re: serving static content

2004-07-09 Thread Matthew Hixson
Got it! My colleague discovered this post: http://www.jboss.org/index.html?module=bbop=viewtopicp=3840204#3840204 I put the defaultWebXml attribute into the Context and pointed it to the stock global Tomcat web.xml file. Now Tomcat thinks that /watermarks/ is a real webapp apparently and files

RE: Serving static content in tomcat 5

2004-02-26 Thread Shapira, Yoav
Howdy, I tried adding a Context to the webappBase\WEB-INF\web.xml file: A context IS a web application: it's a one to one relationship. But it doesn't seem to work. Can someone please point me in the right direction to serve static content / files? You don't need to configure tomcat to

RE: Serving static content in tomcat 5

2004-02-26 Thread Alex Smith
OK that makes sense and I've tested it and you're right. I have a directory structure like this (everything over SSL): .../webapps/theWebApp/ .../webapps/theWebApp/certs and in the .../webapps/theWebApp/ directory I have a file called main.html that has a link to

RE: Serving static content in tomcat 5

2004-02-26 Thread Shapira, Yoav
Howdy, and in the .../webapps/theWebApp/ directory I have a file called main.html that has a link to https://servername/theWebApp/certs/CACert.cer and when I click it it will not allow me to save it or access it at all. However, if I put a test file in the /certs directory called hi.html, I can