File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes store a file in tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

store a file in tomcat server

Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi pals,

i got a servlet is going to connect to a DB then do some queries then write the result in excel file on the local hard disk , what i wanna instead writing the file on the local hard disk i wanna to store it on the tomcat in a specific path so it can be downloaded ,

Any suggestions ?


Thanks,
Sherif
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

I'll move this from "Other Open Source Projects" forum to "Servlets" forum (Though your question talks about downloading the file to Tomcat, i think this is not specific to Tomcat server.)


[My Blog] [JavaRanch Journal]
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10067
    
163

Looks like you have already posted the same question already in the Servlets forum as well as Tomcat forum.

Moderators, please close this thread. Thanks.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11432
    
  85

Closed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: store a file in tomcat server