• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tomcat/catalina4.0.3 could not display jsp properly!?  RSS feed

 
thucyd chopman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I updated from jboss2.4.3-tomcat3.2.3 to jboss3.0.0-tomcat4.0.3 recently,however,my application could not run propertly in new version.
I wrote <%@ include file="../head.jsp" %> in one of my jsp page, when I call it from localhost, it tell me "could not find ../head.jsp" I checked the war file, its there and it did run ok in my old version,morver,the application is going ok with catalina but when I try to run with jboss-tomcat I get the error
help me, thanks!
 
thucyd chopman
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, give you more information to help me sort this problem,
I add the same line in the index.jsp, it works ok. But, when I click to go further directory, the head.jsp would not be found.
It seems only files inside the same directory could be include, othewise, could not be found.
who knows why. My classmate has the same problem with me and in his application, part of pages work ok, the left have the same error as me.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"thucyd"
Your name doesn't follow the javaranch guidelines. Please take a moment and change your "Publicly Displayed Name" by editing your profile.
thanks for your cooperation.
- madhav
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!