This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: creating directory on server