hi all
I am developing an application which needs to access images files put in image folder in
java bean file.
I tried a lot by using different methods and failed always, except in case of absolute path which I dont want to use.
My directory structure is as below
/Web-apps
/MyApp
index.html
myjsp.jsp
/Images
img1.png
/WEB-INF
/classes
/beans
GraphBean.java
In GraphBean.java I have the code
I want to use img1.png file in place of image file name.
I want to know how this can be achieved without using absolute path.
Thanks in advance
Aniket