tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "smashingwebs" <>
Subject JSP: Defining your own class
Date Wed, 13 Feb 2002 00:44:15 GMT
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
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 
putting it all over the place in tomcat.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message