File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes Setting of Default Directory Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Setting of Default Directory" Watch "Setting of Default Directory" New topic

Setting of Default Directory

Anubhuti Bhargava

Joined: May 11, 2001
Posts: 9
HI ,
I am working with weblogic version 6.0 and coding jsp.
Till now , i stored all my jsp file in it's default directory that is ..
Now while i want that i can creat my own directory..say
and store all my jsp here and work from here
is it possible ..if yes how..?? and in which file i have to configure .
Anubhuti Bhargava

Steve Chernyak
Ranch Hand

Joined: Oct 19, 2000
Posts: 113
I don't think this is possible.
You could create a new directory in the applications directory and store your jsps there. Also create a file called REDEPOY and place into the WEB-INF directory inside of your web application, then every time you change a jsp change the date modified on the REDEPLOY file by putting a space in it and saving. This should update the web application.
Hope this helps

Joined: Jun 14, 2001
Posts: 16
In Weblogic 5.1, you can create a webapp and point there. file has an entry like this:
Any reference to http://host:7001/myapp would then go to C:/mydir/myjsps
I agree. Here's the link:
subject: Setting of Default Directory