aspose file tools*
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Setting of Default Directory" Watch "Setting of Default Directory" New topic
Author

Setting of Default Directory

Anubhuti Bhargava
Greenhorn

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 ..
C:\bea\wlserver6.0\config\provdomain\applications\DefaultWebApp_provserver
Now while i want that i can creat my own directory..say
c:\work..
and store all my jsp here and work from here
is it possible ..if yes how..?? and in which file i have to configure .
Regards
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
john_guthrie
Greenhorn

Joined: Jun 14, 2001
Posts: 16
In Weblogic 5.1, you can create a webapp and point there. weblogic.properties file has an entry like this:
weblogic.httpd.webApp.myapp=C:/mydir/myjsps
Any reference to http://host:7001/myapp would then go to C:/mydir/myjsps
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting of Default Directory
 
Similar Threads
Internal Servlet Error ?
Strange Problem on deleting a File
Help please ;-( Apache2 - Tomcat5 integration on FeeBSD
Need to store file out of tmp directory in JBOSS server
How to save my programs in laptop's drive to desktop using shared network