tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41261] New: - org.apache.jasper.JasperException: File not found
Date Fri, 29 Dec 2006 17:22:07 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41261>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41261

           Summary: org.apache.jasper.JasperException: File not found
           Product: Tomcat 5
           Version: 5.5.9
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: Jasper
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: reachmuthukumar@gmail.com
                CC: markt@apache.org
 BugsThisDependsOn: 39817


After upgrading the version of tomcat from 5.0 to 5.5.17 and java 1.4 to java 
1.5,most of the request in my webapp results like the following

org.apache.jasper.JasperException: /resource.jsp(4,0) File "/jsps/Header.jsp" 
not found
	org.apache.jasper.servlet.JspServletWrapper.handleJspException
(JspServletWrapper.java:510)
	org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:375)
	org.apache.jasper.servlet.JspServlet.serviceJspFile
(JspServlet.java:314)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


root cause 

org.apache.jasper.JasperException: /resource.jsp(4,0) File "/jsps/Header.jsp" 
not found
	org.apache.jasper.compiler.DefaultErrorHandler.jspError
(DefaultErrorHandler.java:39)


after the version change the above errors are output.After debugging found the 
root cause is related to the context root in which the application  is 
running..my appln structure is as below



web
 |
 ---jsps
     |
     |-----adminuser
     |           |
     |           ----admin.jsp
     |
     |
     |--header.jsp
     |--resource.sjp


the context root in which my appln run is web.The header.jsp is included in 
all jsp's using <%@include file="/jsps/header.jsp" %> 
from resource.jsp iam able to request the adminuser/admin.jsp.When the request 
is made from the admin.jsp to call resource.jsp using a hypherlink
(<html:link href="./jsps/resource.jsp"> HomeA</html:link>)

it results the above error.i have searched in the web..i can't get the exact 
resolution to fix this issue.Can anyone of you help me to fix it.
But the above said application is running fine in tomcat 5.0.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message