Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

new directory

 
Relu Ovidiu
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Relu,
The java.io.File class contains the functionality necessary to create directories.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic