[Question] Image path - Best way?

2003-09-27 Thread Rajesh M Vasudevan
Hi What is the best way to give image paths in JSP pages? I see that an image path given in a certain way works for .jsp files, but the same path fails for pages loaded through a .do and vice versa. Is there a standard way that struts instructs by which images can be defined in a resource

Re: [Question] Image path - Best way?

2003-09-27 Thread Rajesh M Vasudevan
Hi guys, I tried the following, and it seems to work good: img src=%=request.getContextPath()%/images/leiste_oben.jpg width=430 height=80 border=0 alt= Is this the right way? Is there a way to specify it as a Resource? Can you give me a tutorial link of how to do that.. Thanks Rajesh Hi

Re: [Question] Image path - Best way?

2003-09-27 Thread James Mitchell
://www.struts-atlanta.org 678.910.8017 770.822.3359 AIM:jmitchtx - Original Message - From: Rajesh M Vasudevan [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, September 27, 2003 2:32 AM Subject: Re: [Question] Image path - Best way? Hi guys, I tried

Re: [Question] Image path - Best way?

2003-09-27 Thread Max Cooper
Users Mailing List [EMAIL PROTECTED] Sent: Friday, September 26, 2003 11:32 PM Subject: Re: [Question] Image path - Best way? Hi guys, I tried the following, and it seems to work good: img src=%=request.getContextPath()%/images/leiste_oben.jpg width=430 height=80 border=0 alt