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
an acces the target directory directly in my Java code, that's no problem, but what I wanna do is something different? Greetings Ward Caldarale, Charles R schreef: From: Ward [mailto:wardloot...@gmail.com] Subject: Deployment: do not delete specified folder to be able to acces the

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

Deployment: do not delete specified folder

2009-03-26 Thread Ward
Hi all, I'm working on a web application in which users are able to upload files to server. The files are stored outside the tomcat webapps directory, but 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 wh