This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


JavaRanch » Java Forums » Java » JSP
Bookmark "creating directory on server" Watch "creating directory on server" New topic
Author

creating directory on server

Alex Kravets
Ranch Hand

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


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
thanks!
 
Have you checked out Aspose?
 
subject: creating directory on server
 
It's not a secret anymore!