Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

whereis the dir after deployed on server?

 
philber fang
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic