File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
jQuery in Action, 3rd edition