Re: Unable to access files outside Webapp directory in tomcat

2009-09-01 Thread asingla4
: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Akash, On 8/30/2009 12:34 PM, asingla4 wrote: I have kept all the documents and images outside the root directory of the application. How can I access these files in my application[?] What have you already tried? - -chris -BEGIN

Re: Unable to access files outside Webapp directory in tomcat

2009-09-01 Thread asingla4
Hi, I have my Web application installed in C:\Tomcat\webapp\ROOT. Now, through the Web page of this application, the user uploads an image which the application saves in C:\files folder using ImageIO class of JAVA. Now as soon as the file is uploaded, there should be a download button enabled

Unable to view uploaded files in Tomcat till server is refreshed

2009-08-30 Thread asingla4
Hi All, I am building an application wherein the user would have an option to upload files (can be documents or images) and once the files are uploaded the user should be able to download it. I am using Apache Tomcat 6.0 and JDK1.6. Every thing seems to be OK for the File Upload part but I have

Unable to access files outside Webapp directory in tomcat

2009-08-30 Thread asingla4
Hi All, I am developing a web application with JDK 1.6 and Tomcat 6.0. I have kept all the documents and images outside the root directory of the application. How can I access these files in my application. Please suggest Thanks Akash Singla TheDaedals.com -- View this message in context: