Two Laptop Bag*
The moose likes Websphere and the fly likes whereis the dir after deployed on server? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "whereis the dir after deployed on server?" Watch "whereis the dir after deployed on server?" New topic
Author

whereis the dir after deployed on server?

philber fang
Greenhorn

Joined: Dec 30, 2004
Posts: 12
Hi Gurus,

I need to generate some gif images files at run time to let the html files access these images files vie the html tag "img src=/imgdir/generated.gif", but don't know how I could write to the dir containing the gif files(where is it after deployed on the unix box?), say, a dir called imgdir under the WebContent folder in a web project.

I did some search research on the web but getting nothing and now I am stuck on this for long.

Really needs some help....

Thanks a millions...
philber fang
Greenhorn

Joined: Dec 30, 2004
Posts: 12
I know the dir is under the application installation dir specified during the installation of the app using websphere admin console. But now my question is, in a cluster environment, the installation dir will be different for different cluster servers, so how my code know where is the "imgdir" directory and generate gif files under it?

thanks....a lot....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: whereis the dir after deployed on server?
 
Similar Threads
context.xml + Help Needed
Jar drive me crazy
Images in WebSphere AE 4.01
Tomcat/JSP will not run
A file path for an Appplication Build in JAVA(Windows platform) doesn't work on linux server