RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread Rob Elliott
BTW I do not see any request in the logs... -Original Message- From: Rob Elliott Sent: Thursday, April 13, 2006 3:12 PM To: 'Tomcat Users List' Subject: RE: Serve a file instead of a page using Tomcat. Yes I suspected that too and started deleting all offline content before ea

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread Rob Elliott
entry in my server.xml. Not sure if this would have any effect or not... Thanks.. -Original Message- From: P Y [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 2:56 PM To: Tomcat Users List Subject: Re: Serve a file instead of a page using Tomcat. On 4/13/06, Rob Elliott <[EMAIL P

Re: Serve a file instead of a page using Tomcat.

2006-04-13 Thread P Y
On 4/13/06, Rob Elliott <[EMAIL PROTECTED]> wrote: > Thanks for your response. > > I placed it under ROOT and I get the message HTTP Status 404 - > video/3gp/video.3gp. > > What's interesting is that if I enter http://localhost:8080/ I get the > admin page and then if I append video I see directory

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread Rob Elliott
d see video.3gp etc. I can get to the file this way but I want to specify the entire URL at once... -Original Message- From: P Y [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 12:07 PM To: Tomcat Users List Subject: Re: Serve a file instead of a page using Tomcat. The default webapp

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread John Powers
TED] Sent: Thursday, April 13, 2006 11:07 AM To: Tomcat Users List Subject: Re: Serve a file instead of a page using Tomcat. The default webapp is in ROOT/, so, create the directory ROOT/video to be reached through http://localhost:8080/video/ ... On 4/13/06, Rob Elliott <[EMAIL PROTECTED]> wrote

Re: Serve a file instead of a page using Tomcat.

2006-04-13 Thread P Y
st:8080/video/3gp/video.3gp > > however I receive 404 "The requested resource is not available... > > > > -Original Message- > From: John Powers [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 13, 2006 11:13 AM > To: Tomcat Users List > Subject: RE:

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread Rob Elliott
You can just serve out with http://Hostname:port/123/blah.ext -Original Message- From: Rob Elliott [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 9:26 AM To: Tomcat Users List Subject: RE: Serve a file instead of a page using Tomcat. Thanks for your response, I don't s

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread John Powers
me:port/123/blah.ext -Original Message- From: Rob Elliott [mailto:[EMAIL PROTECTED] Sent: Thursday, April 13, 2006 9:26 AM To: Tomcat Users List Subject: RE: Serve a file instead of a page using Tomcat. Thanks for your response, I don't see a "web" folder for Tomcat, only und

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread Rob Elliott
ct: RE: Serve a file instead of a page using Tomcat. If the file is in the web folder then you can just path to it http://localhost:8080/somedir/somefile.ext But if it isn't, then a servlet can read in from a file stream and read out to the servlet's out stream... -Original Messa

RE: Serve a file instead of a page using Tomcat.

2006-04-13 Thread John Powers
If the file is in the web folder then you can just path to it http://localhost:8080/somedir/somefile.ext But if it isn't, then a servlet can read in from a file stream and read out to the servlet's out stream... -Original Message- From: Rob Elliott [mailto:[EMAIL PROTECTED] Sent: Thu