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...
posted 9 years ago
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?