dcsimg
How to create folders dynamically from JSP?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   SeetaRamayya_Vadali
Posted On:   Thursday, November 17, 2005 01:31 AM

Hai Friends,
          I need to create folder for each user when he signed in through coding. And after that I need to copy some default JSP pages into that directory. How to create those folders?

Re: How to create folders dynamically from JSP?

Posted By:   Joost_Schouten  
Posted On:   Saturday, November 19, 2005 09:14 AM

Hi,

The folowing will create a folder.

java.io.File file = new File("/path/to/my/user/folder");
if(!file.exists())
file.mkdirs();


Cheers,
Joost
About | Sitemap | Contact