This may not be the only or best way to do this but I put my jar files in
WEB-INF/lib directory where my webapp is. Then in the jsp at the top I put
this line:
<%@ page import="java.util.*, esg.b3.*" errorPage="error.jsp" %>
and it works for me.
Regards,
Drew
-Original Message-
From:
I would tell you to put the jar file under WEB-INF/lib/ under your webapplication.
This means the jar file along with all it's classes and what ever is in it, is in the
classpath.
Now, I don't kow what is inside the jar file (might be some javabeans as well as
servlets).
If I was you, I would
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
If it's a class or group of classes, /WEB-INF/classes.
If it's a JAR file, /WEB-INF/lib.
John
> -Original Message-
> From: Brian O. Bozarth [mailto:[EMAIL PROTECTED]]
> Sent: Monday, December 09, 2002 10:50 AM
> To
>Having trouble using this jar file which has code for an Equifax interface (credit
>check). I've been given a jar file with sample
>code. Where do I put in the tomcat directory and how do I reference it in a jsp
>page? Do I need to do anything on the
>server to configure?
>
>The package
okay I put the jar file in /tomcat/webapps/ROOT/WEB-INF/lib (I had to actually create
the lib folder)
I used this in my jsp page.
<%@ page import="com.equifax.rcas.*"%>
getting an error of:
/web1/labwerks/tomcat/work/Standalone/localhost/_/dev/credit_check_jsp.java:7: package
com.equifax.rc
Have you tried changeing the import to com.equifax.rcas.tools.*?
-Original Message-
From: Brian O. Bozarth [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:21 AM
To: Tomcat Users List
Subject: RE: How do I install a jar file and reference it with a jsp
page? (Next problem
MAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:43 AM
To: Tomcat Users List
Subject: RE: How do I install a jar file and reference it with a jsp
page? (Next problem)
Have you tried changeing the import to com.equifax.rcas.tools.*?
-Original Message-
From: Brian O. Bozarth [mailto:[E
ll a jar file and reference it with a jsp
page? (Next problem)
Have you tried changeing the import to com.equifax.rcas.tools.*?
-Original Message-
From: Brian O. Bozarth [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 09, 2002 11:21 AM
To: Tomcat Users List
Subject: RE: How do I install a