Howdy all

I'm trying to get up and running with GnuJSP. I have Win 95, Apache 1.3.6,
Jserv 1.0, and GnuJSP 0.9.10. Apache & JServ work fine. My problem is with
GnuJSP - I can't get it to process my .jsp files.

Here's what I've done so far:

 - I added this line to my httpd.conf file:

ApJServAction .jsp /servlets/gnujsp

This tells Apache to process all JSP files with the gnujsp servlet.


 - In my GnuJSP directory (which happens to be called
C:\apps\Apache\GnuJSP\gnujsp-0.9.10), I've created a subdirectory called
gnujsp-classes. This is for GnuJSP to put its scratch files.

- I added the following lines to my jserv.properties file:

repositories=C:\apps\Apache\GnuJSP\gnujsp-0.9.10\lib\gnujsp.jar
repositories=C:\apps\Apache\GnuJSP\gnujsp-0.9.10\gnujsp-classes
servlet.gnujsp.code=org.gjt.jsp.JSPServlet
servlet.gnujsp.initArgs=classfiles=C:\apps\Apache\GnuJSP\gnujsp-0.9.10\gnujsp-
classes

I was told to add these to my zone properties file -I don't really understand
zones, but since I didn't put GnuJSP anywhere special, I assume that it's in
my root zone, and that jserv.properties was the right file to edit. Anyway, I
assume the first two lines in effect add gnujsp.jar and my gnujsp-classes
subdir, to Jserv's class path. The third line tells it where to find the code
for the GnuJSP servlet, and the 4th provides args for this servlet, which in
this case is simply a class path (again specifying the gnujsp-classes subdir.


Phew!

After all this, I copy the Gnu JSP sample files to my Apache htdocs directory
- but when I try to go there using http://localhost/date.jsp (e.g.), I get a
simple 404.

Apache serves HTML docs just fine, and JServ handles servlets just fine. The
only thing I can think is wrong is somehow my server is improperly configured
and it doesn't either Apache isn't mapping .jsp files to the GnuJSP servlet,
or JServ doesn't map the GnuJSP servlet to JSPServlet.class, or GnuJSP can't
find JSPServlet

My poor brain is a little crispy over this - can anyone help?

Thanks,
Chris

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to