aspose 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 Java 8 in Action this week in the Java 8 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: 477

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: 9343
    
111

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: 9343
    
111

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: 11285
    
  59

Closed.
 
Consider Paul's rocket mass heater.
 
subject: store a file in tomcat server
 
Similar Threads
saving text files
Saving a ms word doc on the server
serialization
store a file in tomcat server
store a file in the server