tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhagwat, Vinit (Vinit)" <vbhag...@avaya.com>
Subject RE: Problem with jasper-compiler when ported web application from tomcat 5.5.9 to 5.5.26
Date Fri, 03 Oct 2008 10:43:44 GMT
Following is appBase setting for host in server.xml

<Host name="localhost" appBase="webapps"
       unpackWARs="true" autoDeploy="true"
       xmlValidation="false" xmlNamespaceAware="false">

And there is no ROOT context defined.

Vinit
-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: Friday, October 03, 2008 3:49 PM
To: Tomcat Users List
Subject: Re: Problem with jasper-compiler when ported web application
from tomcat 5.5.9 to 5.5.26

Bhagwat, Vinit (Vinit) wrote:
> Hi,
>  
> I am getting following exception
>  
> org.apache.jasper.JasperException: ServletException in
> '/testapp/dir1/test1.jsp': File "/testapp/dir2/def.jsp" not found
>  
> when I ported my web application from tomcat 5.5.9 to 5.5.26
>  
> Following is code snippet from test1.jsp page under 
> webapps/testapp/dir1
>  
> <t:panelTabbedPane>
>  <t:panelTab id="tabpane-1" label="abc" rendered="true">
>   <jsp:include page="abc.jsp" />
>  </t:panelTab>
>  <t:panelTab id="tabpane-1" label="def" rendered="false">
>   <jsp:include page="def.jsp" />
>  </t:panelTab>
> </t:panelTabbedPane>
>  
> here abc.jsp is under directory webapps/testapp/dir1 (same directory 
> of
> test1.jsp) and def.jsp is under directory webapps/testapp/dir2.
>  
> This used to work with tomcat 5.5.9 but with tomcat 5.5.26 I am 
> getting following exception
>  
> org.apache.jasper.JasperException: ServletException in
> '/testapp/dir1/test1.jsp': File "/testapp/dir2/def.jsp" not found.
>  
> Can somebody please help me to resolve this problem.

What are the appBase settings for the host (in server.xml) and if you
have defined a ROOT context, what is the docBase for that context?

Mark



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,
e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message