This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes include tag problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "include tag problem" Watch "include tag problem" New topic

include tag problem

hesham katon
Ranch Hand

Joined: Dec 18, 2002
Posts: 82
Hello Everyone,
I have a problem with include tag .
It works proberly at my local tomcat server , but it doesnt work at my host when I use a relative path with high level directory .
this code works fine :
<jsp:include page="right.jsp" flush="true" />
but this one doesnt work :
<jsp:include page="../false.jsp" flush="true" />
I also tried a code like this but it failed too :
<jsp:include page="/false.jsp" flush="true" />
As I said all of those works at my local tomcat server , so I think the problem may concern with the configuration of the tomcat server of my host .
In fact he cant find the problem .
Any one can help

Hesham Katon<br />SCJP 1.2<br />SCWCD 1.4<br />Better to light a candle than to curse the darkness
I agree. Here's the link:
subject: include tag problem
It's not a secret anymore!