Images not displayed if used without app-name
1 posts in topic
Flat View  Flat View

Posted By:   Himanshu_Kandwal
Posted On:   Friday, August 17, 2007 03:02 AM


I am using tomcat5.5.17

I am required to access the images like img src="/folder/abc.gif" /> but it does not display the image, its works when I give the application name also like img src="/app-name/folder/abc.gif".

Is there any way to change at server so I can access the image without appending the application context in JSP.


Re: Images not displayed if used without app-name

Posted By:   tim_fox  
Posted On:   Tuesday, September 18, 2007 02:26 AM

Try removing the first "/" so that your image tag reads img src="folder/abc.gif"


About | Sitemap | Contact