[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

RE: gnujsp1.0 - Can't find the servlet?


Noel:

OK, I created the jsp10.jar but it didn't seem to make any difference. Also 
- the nature of the error makes me think it had nothing to do with this. The 
jserv.logl error I get is (note the org.gjt prefix?)
:
(ERROR) ajp11: Servlet Error: ClassNotFoundException: 
org.gjt.jsp10.JSP10Servlet

In servlet.properties I have

wrapper.classpath=/usr/local/tomahawk/classes/ApacheJServ.jar
wrapper.classpath=/usr/local/tomahawk/classes/jsdk.jar
wrapper.classpath=/usr/local/tomahawk/classes/gnujsp10.jar
wrapper.classpath=/usr/local/tomahawk/classes/jsp10.jar

does the order matter?
- John

===== Original Message from "Noel J. Bergman" <noel@ibm.net> at 10/05/99 
12:08 am
>John,
>
>Without seeing your configuration, my first guess would be that you don't
>have the JSP classes in the classpath.  And, as I understand it, Sun's
>copyright and license agreement prevents us from legally uploading the
>necessary JAR file without some sort of distribution license.  And you don't
>really want to mix JSDK 2.0 and JSDK 2.1 classes.
>
>Download JSWDK from java.sun.com, and extract to disk.  Find
>javax/servlet/jsp/*.java.  There are 5 files: HttpJspPage.Java,
>JspFactory.java, JspPage.java, JspWriter.java and PageContext.java.
>
>Compile those files.  Change directories to the one above javax (src/ if you
>have followed directions so far) and place them in a jar (jar cvf jsp10
>javax/servlet/jsp/*.class).   Put that jar in the classpath for your servlet
>engine.
>
>If Sun would give us permission, we could put that JAR file in the release
>package, but at the moment, not only do they hold the copyright, but the
>files are all stamped as confidential and proprietary.
>
>	--- Noel

John Coonrod, Vice President, The Hunger Project
15 East 26th Street, NY, NY 10010  Fax: 212-532-9785 www.thp.org