You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by BugRat Mail System <to...@cortexity.com> on 2000/11/02 15:01:45 UTC
BugRat Report #329 has been filed.
Bug report #329 has just been filed.
You can view the report at the following URL:
<http://znutar.cortexity.com:8888/BugRatViewer/ShowReport/329>
REPORT #329 Details.
Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: docbug
State: received
Priority: high
Severity: serious
Confidence: public
Environment:
Release: 3.1
JVM Release: 1.2 +
Operating System: Solaris and NT
OS Release: Any
Platform: Solaris and NT
Synopsis:
.java Package names that start with a '.'
Description:
This snippet is take from an error I get when I invoke a jsp in a new window
Error: 500
Location:
//Portal302/pane/mypicture/fileUpload.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPC:\j\work\localhost_8080\_0002f_0002fPortal_00033_00030_00032_0002fpane_0002fmypicture_0002ffileUpload_0002ejspfileUpload_jsp_0.java:1: Identifier expected.
package .Portal_00033_00030_00032.pane.mypicture;
^
C:\j\work\localhost_8080\_0002f_0002fPortal_00033_00030_00032_0002fpane_0002fmypicture_0002ffileUpload_0002ejspfileUpload_jsp_0.java:19: Superclass HttpJspBase of class _0002f_0002fPortal_00033_00030_00032_0002fpane_0002fmypicture_0002ffileUpload_0002ejspfileUpload_jsp_0 not found.
public class _0002f_0002fPortal_00033_00030_00032_0002fpane_0002fmypicture_0002ffileUpload_0002ejspfileUpload_jsp_0 extends HttpJspBase {
^
2 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:247)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Unknown Source)
it seems to have lost touch with the parent servlet and hence cannot use it to generate the name for the (.java) files
This wouldn't be a problem but this short package name starts with a '.' and javac won't compile it