jQuery in Action, 3rd edition
The moose likes JSP and the fly likes creating directory on server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "creating directory on server" Watch "creating directory on server" New topic

creating directory on server

Alex Kravets
Ranch Hand

Joined: Jan 24, 2001
Posts: 476
Is it possible to create a directory on server using JSP?

All right brain, you don't like me and I don't like you, but let's just do this one thing so I can get back to killing you with beer.<br /> <br />- Homer Simpson
Tim Baker
Ranch Hand

Joined: Oct 04, 2003
Posts: 541
if your JSP page has permission on the server to do so then yes. use the java File class (hint look at mkdir() )

Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
Alex Kravets
Ranch Hand

Joined: Jan 24, 2001
Posts: 476
I agree. Here's the link: http://aspose.com/file-tools
subject: creating directory on server
It's not a secret anymore!