Meaningless Drivel is fun!*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 9924
    
158

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: 9924
    
158

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: 11404
    
  81

Closed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: store a file in tomcat server
 
Similar Threads
store a file in tomcat server
Saving a ms word doc on the server
saving text files
serialization
store a file in the server