Try searching the archives this is a common issue. The requests for images are based on where the template tiles is using is located - not the location of the jsp being inserted in the template. One approach is to use the base tag - I do the following to ensure all images and links are rooted at the same level in the application - the root. This is the simplest, but there are other suggestions as well.
This line is in the base template - or any template. <base href="http://<%= request.getServerName()%>:<%= request.getServerPort()%><%=request.getContextPath()%>/"> Images then are referenced from the root of the web app - this is from the footer jsp <img src="web/images/footer/struts-power.gif" width="95" height="37" border="0" alt="struts"/> My directory structure is App --> web (web stuff) -->WEB-INF Others like the WEB-INF capability to protect resources. Cal http://www.calandva.com/ Last update 08/01/03 -----Original Message----- From: Caroline Jen [mailto:[EMAIL PROTECTED] Sent: Friday, October 24, 2003 14:42 To: [EMAIL PROTECTED] Subject: Tiles And Images I use tiles and stylesheet to display my web pages. I also try to insert some images in those pages. The tiles work fine. I have header, footer, navbar, content, etc. displayed without problem. But, I am curious to know if anybody has had difficulties in inserting images. I have tried various ways and cannot succeed. __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Learn more about Paymentech's payment processing services at www.paymentech.com THIS MESSAGE IS CONFIDENTIAL. This e-mail message and any attachments are proprietary and confidential information intended only for the use of the recipient(s) named above. If you are not the intended recipient, you may not print, distribute, or copy this message or any attachments. If you have received this communication in error, please notify the sender by return e-mail and delete this message and any attachments from your computer. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]