3 Replies Latest reply on Aug 30, 2006 10:33 PM by Brent Rogers

    Simple? JSP script

    Brent Rogers Newbie

      I have a jar file and a JSP script that references it.

      The jar file contains a class "fortune.Fortune" but when I try the import directive "<%@ page import="fortune.Forutne" %>" i get the error message:

      "Only a type can be imported. fortune.Forutne resolves to a package"

      I have tried several places to put the fortune.jar file:

      * $JBOSS_HOME/sever/all/lib
      * $JBOSS_HOME/sever/all/deploy/jbossweb-tomcat55.sar/ROOT.war/WEB-INF/lib
      * $JBOSS_HOME/sever/all/deploy/jbossweb-tomcat55.sar/ROOT.war/
      * $JBOSS_HOME/sever/all/server/lib
      * same directory as my jsp file

      Each to no avail.

      1. Where should I place the fortune.jar file
      2. Is there a config file I need to update to reference this jar file?