RE: Deployment: do not delete specified folder

2009-03-27 Thread Caldarale, Charles R
> From: Caldarale, Charles R > Subject: RE: Deployment: do not delete specified folder > > What you want to do is not uncommon; it would be a useful enhancement > for DefaultServlet to be able to configure external directories based > on URL paths. There is another way to do th

RE: Deployment: do not delete specified folder

2009-03-27 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Re: Deployment: do not delete specified folder > > should have asked this a lot earlier, would have > saved me a lot of frustrations! What you want to do is not uncommon; it would be a useful enhancement for DefaultServle

Re: Deployment: do not delete specified folder

2009-03-27 Thread Ward
okey Thanks a lot mate, should have asked this a lot earlier, would have saved me a lot of frustrations! Ward 2009/3/27 Caldarale, Charles R : >> From: Ward [mailto:wardloot...@gmail.com] >> Subject: Re: Deployment: do not delete specified folder >> >> Read the desired

RE: Deployment: do not delete specified folder

2009-03-27 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Re: Deployment: do not delete specified folder > > Read the desired file, and then write it to the outputstream of the > response? Exactly. That's all the DefaultServlet does. (Ok, not quite all, but that's t

Re: Deployment: do not delete specified folder

2009-03-27 Thread Ward
2009/3/26 Caldarale, Charles R : >> From: Ward [mailto:wardloot...@gmail.com] >> Subject: Re: Deployment: do not delete specified folder >> >> Can you please tell/hint me how do I access file on >> server, not in webserver directory > > Static resources are n

RE: Deployment: do not delete specified folder

2009-03-26 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Re: Deployment: do not delete specified folder > > Can you please tell/hint me how do I access file on > server, not in webserver directory Static resources are normally handled by Tomcat's built-in DefaultServlet, whic

Re: Deployment: do not delete specified folder

2009-03-26 Thread Ward
2009/3/26 Caldarale, Charles R : >> From: Ward [mailto:wardloot...@gmail.com] >> Subject: Re: Deployment: do not delete specified folder >> >> So supposed there is a file in the /media directory, let's >> say file.jpg There is no way to acces this file trough a

RE: Deployment: do not delete specified folder

2009-03-26 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Re: Deployment: do not delete specified folder > > So supposed there is a file in the /media directory, let's > say file.jpg There is no way to acces this file trough an > url without creating a link to the media f

Re: Deployment: do not delete specified folder

2009-03-26 Thread Ward
Okey, I might have been not specific enough with my question: wath I wanna do is to be able to link to the files (eg to download, or to use an image in a html-page) So supposed there is a file in the /media directory, let's say file.jpg There is no way to acces this file trough an url without

RE: Deployment: do not delete specified folder

2009-03-26 Thread Caldarale, Charles R
> From: Ward [mailto:wardloot...@gmail.com] > Subject: Deployment: do not delete specified folder > > to be able to acces them via the web-application, > I created a symbolic link into my application's > root directory, which points to the folder where > the files are actually stored. "Doctor, d