aspose file tools*
The moose likes JSP and the fly likes Code for Creating a Folder  in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Code for Creating a Folder  in JSP" Watch "Code for Creating a Folder  in JSP" New topic
Author

Code for Creating a Folder in JSP

Rama Lakshmi
Greenhorn

Joined: Mar 31, 2006
Posts: 27
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

Joined: Sep 16, 2004
Posts: 3636
Use Creating a Directory with getRealPath.


My blood is tested +ve for Java.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60049
    
  65

"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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rama Lakshmi
Greenhorn

Joined: Mar 31, 2006
Posts: 27
Originally posted by Chetan Parekh:
Use Creating a Directory with getRealPath.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60049
    
  65

"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

Joined: Mar 31, 2006
Posts: 27
Thank u chetan,it's working
Thanks for u r quick help!!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Code for Creating a Folder in JSP
 
Similar Threads
CSS Stylesheet Reference
web application not visible.
user session questions
create a gmail calendar invite
Path for Temporary Directory