Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 44337 invoked from network); 13 Feb 2002 00:43:41 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 13 Feb 2002 00:43:41 -0000 Received: (qmail 4127 invoked by uid 97); 13 Feb 2002 00:43:27 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 4111 invoked by uid 97); 13 Feb 2002 00:43:27 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 4100 invoked from network); 13 Feb 2002 00:43:26 -0000 Message-ID: <002201c1b427$9058fdc0$3e30e70c@C36432B> From: "smashingwebs" To: Subject: JSP: Defining your own class Date: Tue, 12 Feb 2002 16:44:15 -0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_001F_01C1B3E4.81B9AFF0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_001F_01C1B3E4.81B9AFF0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi All, I am using tomcat for my jsp container. I have a book that says that if I want to define my own class and constructor I need to make it extend a class in org.apache.jasper.runtime.*; called HttpJspBase. The problem is when I try to compile it with jdk1.3.1 I get the message that this file doesn't exist. I know it exists in the Tomcat lib under jasper.jar But if I try to put that jar file into my jdk lib file...it still wont find it. Anybody have any ideas or any other way I can define my own class and get jsp servlets to recognize it. I've tried many different things from defining the class on the jsp page to compiling the class (without HttpJspBase) and=20 putting it all over the place in tomcat. ------=_NextPart_000_001F_01C1B3E4.81B9AFF0--