Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 Android Security Essentials Live Lessons this week in the Android 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: 60785
    
  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: 60785
    
  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!!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Code for Creating a Folder in JSP
 
Similar Threads
user session questions
Path for Temporary Directory
CSS Stylesheet Reference
create a gmail calendar invite
web application not visible.