manipulate virtual directories or web applications from a java application

How can i manipulate - add, delete, update and explore -virtual directories and/or Web applications from a java application or servlet?
[163 byte] By [msohaib] at [2007-9-26 1:23:10]
# 1
msohaib,I guess u can use the java.io.File class for such operation. And the InputStream, OutputStream, Reader and Writer classes are also useful in such stuffs. Pls have a look at the java.io package for your information.Joey
joey829 at 2007-6-29 1:01:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
What i want to do is not to manipulate the files/directories of file system, but virtual directories and web-applications hosted on a J2EE application server!
msohaib at 2007-6-29 1:01:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
I believe that depends on the servlet engine. Some engines (like Resin) have apis to move around the virtual file system.David
almilli at 2007-6-29 1:01:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...