tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Buroff" <...@lucent.com>
Subject Re: Multiple jsp:plugin elements
Date Thu, 07 Sep 2000 19:36:51 GMT
Great. Thanks for the info. Will look forward to 3.3.

Steve Buroff
  ----- Original Message ----- 
  From: Pierre Delisle 
  To: tomcat-user@jakarta.apache.org 
  Cc: Buroff, Steven 
  Sent: Thursday, September 07, 2000 3:15 PM
  Subject: Re: Multiple jsp:plugin elements


  After some investigation, this in fact is a bug that is already fixed 
  in tomcat 3.3 as well as tomcat 4.0.

  -- Pierre

  > Steve Buroff wrote:
  > 
  > It appears that one cannot have 2 jsp:plugin elements in a JSP.
  > In other words, you can't have 2 applets in the same page created
  > froma JSP. Is this true? If so, is there a way to work around it?
  > Thanks.
  > 
  > I've attached my .jsp file and the error I get is below. The two
  > applets are identical and each works alone. I created two after
  > trying to include the same applet twice failed. I thought that
  > might be the problem but it isn't.
  > 
  > 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)
  > 
  >                       Name: testApplets.jsp
  >    testApplets.jsp    Type: application/x-unknown-content-type-jspfile
  >                   Encoding: 7bit

Mime
View raw message