1 Reply Latest reply on Nov 15, 2002 1:16 AM by fortinj

    JSPs not compiling JBuilder7 and JBoss/Jetty 3.0.4

    fortinj

      JSPs I am testing with do not compile with JBoss. The JSP gets return with the Java code displayed.

      If I run the same under tomcat and weblogic, it runs fine.
      Here is an example that fails:

      Source: display.jsp
      =======================================
      <%@
      page
      language="java"
      errorPage="error.jsp"
      contentType="text/html"
      import="java.util.Hashtable,
      javax.naming.*,
      java.sql.*,
      javax.sql.DataSource"
      %>
      <%!
      String fsName = "jdbc/OracleDS";
      Connection con = null;
      String querySQL = "Select id, title, author from digest";
      %>


      display JSP

      <h1>JBuilder Generated JSP</h1>
      <h2> Message Digest </h2>
      <%= fsName %>




      ===========================================

      Any input would be greatly appreciated...

      John Fortin