• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Code for Creating a Folder in JSP

 
Rama Lakshmi
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI pals,
I need the code for creating a folder using jsp code.i am using the tomcat webserver version 4.i created a folder sample in webapps under tomacat.now i want to create dynamically folders and as well as subfolders and files under sample directory .

THanks in Advance

Regards
--Rama
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use Creating a Directory with getRealPath.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"rama ch",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff
 
Rama Lakshmi
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Chetan Parekh:
Use Creating a Directory with getRealPath.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64720
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"ramalakshmi",

Please read my instructions on your display name again and act accordingly. Your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

bear
Forum bartender
[ April 02, 2006: Message edited by: Bear Bibeault ]
 
Rama Lakshmi
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank u chetan,it's working
Thanks for u r quick help!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic