Hi,
I trie to display my image with the <html:img
struts tag
In the application ressource properties i set the images like this :
/img/image1.jpg
/img/image2.jpg
...
And i would like to use it in any
JSP :
/jsp/page1.jsp or /jsp/popup/popup1.jsp
but the image aren't displayed (path incorrect).
So i tried to display the images as this with the <a href html tag :
/myProject/img/image1.jpg
/myProject/img/image2.jpg
...
"myProject" = my project context (in the webapps
tomcat directory)
And it works but,
you should know it isn't good.
In another application, i haven't this problem but i don't know where is the difference between the two projects about this "/"path problem.
Florent