wood burning stoves*
The moose likes Servlets and the fly likes new directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "new directory" Watch "new directory" New topic
Author

new directory

Relu Ovidiu
Greenhorn

Joined: Mar 18, 2004
Posts: 12
I use this: String path = scon.getRealPath("/upload");
Here, in this directory(upload) i want to make new directory(subdirectory).. How can i do that? THNX!
Nathaniel Stoddard
Ranch Hand

Joined: May 29, 2003
Posts: 1258
Relu,
The java.io.File class contains the functionality necessary to create directories.


Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new directory
 
Similar Threads
Download / Upload file aynchronously
Browse Button in HTML For Directory Selection
Uploading a directory using JSP/JSF
uploading files in JSP
doubt regarding Directory Upload using HTTPclient3.1 library