I am developing a
Struts project using myeclipse
IDE. In this I have developed a
JSP page using struts tags. I want to insert an image on this page. For doing this I have used these two options:
1. <html:img src="images/struts-power.gif" />
2. <html:img align="" alt="" border="" page="/images/struts-power.gif"
Also note that, i have used all the possible permutation/combinations for the image path. So there is no possibility of using a wrong root. It seems that there is some other configuration error
The directory structure of my application is CMSystem/WebRoot/images/...
CMSystem/WebRoot/WEB-INF/... The context is CMSystem folder.
But, none of the above is showing the image on viewing in browser. I am using
JBOss 3.2.5.
Please let me know what mistake I am doing.