This week's giveaways are in the MongoDB and Jobs Discussion forums. We're giving away four copies of Mongo DB Applied Patterns and 4 resume reviews from Five Year Itch and have the authors/reps on-line! See this thread and this one for details.
How i create a folder on Remote host using servlet
Joined: Apr 13, 2006
Is this possible to create a folder dynamically on remote host and placed files on it using servlet.
Author and all-around good cowpoke
Joined: Mar 22, 2000
A servlet can use normal Java code for creating directories and files - use java.io.File class just like you would in a desktop application. However, security restrictions on the server may prevent or limit directory and file creation. Java provides for very fine-grain control over what a servlet is allowed to do, and of course the operating system will also impose restrictions. Bill