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: [email protected]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]
 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 <[EMAIL PROTECTED] 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to