4 Replies Latest reply on Feb 3, 2005 3:14 PM by Anton Hughes

    jsp not compiling

    Anton Hughes Newbie


      Firstly, I have had a look at http://www.jboss.org/wiki/Wiki.jsp?page=UnableToCompileJSP and this didnt solve my problem - I have the Java_home set correctly.

      The jsp page I am trying to run is:

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      <HEAD><TITLE>JSP Test Page</TITLE></HEAD>
      <BODY BGCOLOR="#FDF5E6">
       out.print("Hello World");

      anyone know why I am getting these errors:

      type Exception report


      description The server encountered an internal error () that prevented it from fulfilling this request.


      org.apache.jasper.JasperException: Unable to compile class for JSP

      Generated servlet error:
      C:\jboss\server\default\work\jboss.web\localhost\freedomair\org\apache\jsp\index_jsp.java:3: package javax.servlet does not exist
      import javax.servlet.*;