Re: Unable to access files outside Webapp directory in tomcat

2009-09-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Akash, On 9/2/2009 1:32 AM, asingla4 wrote: 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

Re: Unable to access files outside Webapp directory in tomcat

2009-09-02 Thread Michael Ludwig
asingla4 schrieb: I'm done with saving the file to C:\files but I don't know how to make it downloadable when the download button is clicked because the files folder is outside the webapp directory. Please read this thread: providing downloading functionality for a file which is on disk

Re: Unable to access files outside Webapp directory in tomcat

2009-09-01 Thread asingla4
- - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org -- View this message in context: http://www.nabble.com/Unable-to-access-files-outside-Webapp-directory-in-tomcat-tp25213157p25244051.html

Re: Unable to access files outside Webapp directory in tomcat

2009-09-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Akash, On 9/1/2009 1:36 PM, asingla4 wrote: Initially, I was accessing the files using the absolute path Accessing the files with what? A fork and knife? but this way I'm unable to download the files through my web Page (the download image on

Re: Unable to access files outside Webapp directory in tomcat

2009-09-01 Thread asingla4
solve your problem. -- View this message in context: http://www.nabble.com/Unable-to-access-files-outside-Webapp-directory-in-tomcat-tp25213157p25251880.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Unable to access files outside Webapp directory in tomcat

2009-08-31 Thread Christopher Schultz
-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 PGP

Unable to access files outside Webapp directory in tomcat

2009-08-30 Thread asingla4
: http://www.nabble.com/Unable-to-access-files-outside-Webapp-directory-in-tomcat-tp25213157p25213157.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr