Hi, Christopher Schultz-2 Let me say sorry for i didnt description the error. The error like the path is mapping incorrectly. So the image or css are not display because of the path not find.
A part of my application structure like under /tomcat/webapps/myApp/images /css /Admin/index.jsp /index.jsp I set my application to be ROOT. The url http://myDomain/ will go my application instead of http://myDomain/myApp. Why i say http://myDomain/item_pd12/34.html let me confuse? Because i didnt have the directory named item_pd12. See my structure, if i want to see the Admin index page, i will type the url http://myDomain/Admin/index.jsp. So i think the "/" let tomcat explain there has directory relationship. Is it wrong idea? In my jsp code, i really write some code for image or css path. Something like <%String sImagePath = "/myApp/images";%>. For this case http://myDomain/item_pd12/34.html. I guess tomcat will to find the directory named item_pd12 under /myApp dir and didnt find my images though the sImagePath. Another question, after i touch http://myDomain/item_pd12/34.html, link other page would stuck with http://myDomain/item_pd12/otherPage. But the really url i want would like http://myDomain/otherPage. Maybe i need to improve my code though something like relative path instead of absolute path. Thanks for your patience. -- View this message in context: http://www.nabble.com/tomcat---url-rewrite-tp25395691p25483993.html Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org