tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 215] New - .java Package names that start with a '.' BugRat Report#329
Date Fri, 09 Mar 2001 22:44:01 GMT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=215

*** shadow/215	Fri Mar  9 14:44:01 2001
--- shadow/215.tmp.7637	Fri Mar  9 14:44:01 2001
***************
*** 0 ****
--- 1,48 ----
+ +============================================================================+
+ | .java Package names that start with a '.' BugRat Report#329                |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 215                         Product: Tomcat 3                |
+ |       Status: UNCONFIRMED                 Version: 3.2.1 Final             |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: High                      Component: Jasper                  |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: Justyna.Horwat@eng.sun.com                                   |
+ |  Reported By: st8@talkcast.autonomy.co.uk                                  |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              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

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


Mime
View raw message