0 Replies Latest reply on Apr 4, 2005 3:42 AM by wiley173

    import statement in .jsp fails --jboss-3.2.6 -- Eclipse 3.0.

    wiley173

      Hello

      I trying to import a class via ...

      <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.* ,com.mypackage.*, java.util.ArrayList" %>
      


      from a jsp file.

      com.mypackage.* gives me a "package does not exist error".

      I have other packages like another.package.files.* in the same place under "src" and they import fine via ...
      <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.sql.* ,another.package.files.*, java.util.ArrayList" %>
      




      I developed the JSP/Servlets in Tomcat and they work fine I just can't figure out why the package com.mypackage.* will not import ?

      --h e l p

      In eclipse my file structure looks like this ...

      - MYPROJECT
      -src
      +com.mypackage
      +another.package.files
      +META-INF
      +WEB-INF


      I didn't add anything to xdoclet or packaging when I "plopped" both of these folders in the src folder but another.package.files is ok but com.mypackage gives me the error ???

      Thanks for any help