Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: include tag problem
 
Similar Threads
jsp:include tag not processed in Tomcat 4.0.4 and Apache2 combination
variables in a jsp:include?
Unable to access message resources through <bean:message> in included jsp
Error message for JSP&Bean deployment
Can JSP's include servlets?