Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP and URLS !!!!

 
kris isfeld
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Y'all,
I have a question about relative urls concerning the include and forward commmands in JSP. When I call a page through HTML (ie. through link such as <a href=''></a> ) and I use the relative path from my server such /MyProj/MyDir/MyPage.jsp this assumes that it starts from my local web home dir (ie C:\JBuilder4\tomcat\webapps\). But when I am doing a forward or an include in the similiar manner it seems that I have to go from /MyDir/MyPage.jsp rather than from /MyProj/MyDir/MyPage.jsp.
Does you know what is going on here?
Any response would be much appreciated,
Thanks,
Kris Isfeld
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic