Path problem between tomcat 4.1 and 6.0
0 posts in topic
Flat View  Flat View

Posted By:   francois_tissandie
Posted On:   Thursday, July 12, 2007 08:36 AM

When I put my .war file in the tomcat's 4.1 webapps directory, all is fine. It's deploy and work well. When I put it in the tomcat's 6.0 webapps directory, it's deploy well but doens not work. I must modify my source code like that

with 4.1 : img src="../img/1x1.gif"

with 6.0 : img src="./img/1x1.gif"

The relative path to find the images is different. Why ?
About | Sitemap | Contact