I finally figured it out. Note, I am running Win32.
I set it up as:
#ApJservAction .jsp /servlet_directory/jsp_alias, e.g.,
#ApJservAction .jsp /servlets/jsp
Then I setup a servlet alias in the zone file, e.g.,
servlet.jsp.code=org.gjt.jsp.JSPServlet
It requires a parameter setup to specify the directory to store its files.
I simply pointed it to servlets directory, where JSP creates a _jsp
subdirectory for compiled files. E.g.,
servlet.gnujsp.initArgs=repository=WWW_Root\servlets
Of course, gnuJSP is in my CLASSPATH and in the zone repository.
Some of these steps may be an overkill, but hey it works!
-- Edas
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Narum,
Snorre
Sent: Wednesday, March 17, 1999 3:47 AM
To: 'Java Apache Users'
Subject: RE: jsp and jserv
I have done all this, but still jserv ignores the jsp files.
can the jsp files be stored anywhere, or just in the zone
that i specified the initArgs etc for? when i put other
kinds of files in the zones apache says: "file not found",
but the servlets works fine.
so my question is, are the zones used only for servlet
execution, or also for html and jsp files etc?
snorre
> Don't forget to uncomment the line
>
> #ApJservAction .jsp /examples/foo.bar.baz.gnuJSP
>
> or whatever the hell it is. There are three lines in the default
> configuration file "jserv.conf" that look like
>
> #ApJservAction .jhtml ...
> #ApJservAction .jsp ...
> #ApJservAction .gsp ...
>
> You want to be sure and uncomment the one for .jsp.
> Mine looks like this:
>
> ApJServAction .jsp /servlets/org.gjt.jsp.JSPServlet
>
> Also, see the GnuJSP homepage:
>
http://www.xs4all.nl/~vincentp/gnujsp/
Finally, there's a great page out there somewhere on "Installation of
GnuJSP" but I lost the bookmark I had for it. You get to dig through
the mailing list archives if you want to find it! You could load up
each day's digest and Alt-F ("find") [EMAIL PROTECTED], I don't post
very much.
--
"The classics never die,
they just get ported to
strange new platforms."
--Rob Malda
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://www.working-dogs.com/>
Problems?: [EMAIL PROTECTED]