cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "LEBRETON Philippe" <philippe.lebre...@cti-paysloire.cnamts.fr>
Subject awt package and XSP
Date Thu, 31 Aug 2000 15:22:50 GMT
I want include a AWT class, like java.awt.Button in my XML file
BASE.XML
and the response of Cocoon is
Error found handling the request.

      java.lang.Exception: XSP Java Compiler: Compilation failed for
_base.java
      87: Undefined variable, class, or package name: java
          java.awt.Button
          ^
      101: Class _app._dev._SiteWebXML._xsp.Button not found in type
declaration.
              Button b = new Button("xfxd");
              ^
      101: Class _app._dev._SiteWebXML._xsp.Button not found in type
declaration.
              Button b = new Button("xfxd");
                             ^
      3 errors


              at
org.apache.cocoon.processor.xsp.language.java.XSPJavaProcessor.compile(XSPJavaProcessor.java:138)

              at
org.apache.cocoon.processor.xsp.XSPProcessor.process(XSPProcessor.java:436)

              at org.apache.cocoon.Engine.handle(Engine.java:303)
              at org.apache.cocoon.Cocoon.service(Cocoon.java:166)
              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)

What is the problem?

Thanks
Philippe LEBRETON


Mime
View raw message