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/09/07 16:01:19 UTC
edit bug #23 by person #0 (logged in as: Nick Bauman)
Bug description modified:
Description changed from:
> A JSP with 2 jsp:plugin actions bombs with the error below.
One of the jsp:plugin actions works fine. Two fail either
with the same applet in both or with 2 different applets.
Steve Buroff
Error: 500
Location: /psip/testApplets.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fpsip\_0002ftestApplets_0002ejsptestApplets_jsp_47.java:95: Variable '_jspxString' is already defined in this method.
String _jspxString = null;
^
C:\tomcat\work\localhost_8080%2Fpsip\_0002ftestApplets_0002ejsptestApplets_jsp_47.java:98: Variable '_jspxNSString' is already defined in this method.
String [][] _jspxNSString = null;
^
C:\tomcat\work\localhost_8080%2Fpsip\_0002ftestApplets_0002ejsptestApplets_jsp_47.java:99: Variable 'i' is already defined in this method.
int i = 0;
^
3 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(Thread.java:484)
To:
> A JSP with 2 jsp:plugin actions bombs with the error below.
One of the jsp:plugin actions works fine. Two fail either
with the same applet in both or with 2 different applets.
<p>
Steve Buroff
</p>
<pre>
Error: 500
Location: /psip/testApplets.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPC:\tomcat\work\localhost_8080%2Fpsip\_0002ftestApplets_0002ejsptestApplets_jsp_47.java:95: Variable '_jspxString' is already defined in this method.
String _jspxString = null;
^
C:\tomcat\work\localhost_8080%2Fpsip\_0002ftestApplets_0002ejsptestApplets_jsp_47.java:98: Variable '_jspxNSString' is already defined in this method.
String [][] _jspxNSString = null;
^
C:\tomcat\work\localhost_8080%2Fpsip\_0002ftestApplets_0002ejsptestApplets_jsp_47.java:99: Variable 'i' is already defined in this method.
int i = 0;
^
3 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(Thread.java:484)
</pre>