I had not added the following line to srm.conf :
AddHandler jsp-handler .jsp
Action jsp-handler /alpha/gnujsp

Now it works!

"������" wrote:

> It leaves a error message in error_log:
> "GNUJSP: Detected JSDK version 2.0"
>
> Does it matter ?
>
> "������" wrote:
>
> > Following is my config what i've added.
> > Servlets works well, and gnujsp starts up well.
> > Leaves no error log, but does nothing...
> >
> > And my system is Linux and have the following package installed:
> > apache-mod_ssl-JServ-1_1-b2_1_6_0_i386.rpm
> > apache-mod_ssl-1.3.9.2.4.5-0.6.0.i386.rpm
> > openssl-0.9.4-1.i386.rpm
> >
> > and gnujsp1.0.0 with following config:
> >
> > File : jserv.conf
> > ApJServAction .jsp /alpha/gnujsp
> > ApJServMount /alpha /alpha
> >
> > File : jserv.properties
> > zone=root,alpha
> > alpha.properties=/etc/httpd/conf/jserv/alpha.properties
> >
> > File : alpha.properties
> > repositories=/home/conan/gnujsp-1.0.0/lib/gnujsp10.jar
> > repositories=/home/conan/gnujsp-1.0.0/lib/servlet-2.0-plus.jar
> >
> > servlets.startup=gnujsp
> > servlet.gnujsp.code=org.gjt.jsp.JspServlet
> > 
>servlet.gnujsp.initArgs=checkclass=true,scratchdir=/var/local/apache/jsp,pagebase=/home/httpd/html,scratchdir=/var/local/apache/jsp,debug=true,compiler=builtin-javac
> > -classpath
> > 
>%classpath%:%scratchdir%:/home/conan/gnujsp-1.0.0/lib/servlet-2.0-plus.jar:/home/conan/gnujsp-1.0.0/lib/gnujsp10.jar:
> > -d %scratchdir% -deprecation %source%
> >
> > Carsten Heyl wrote:
> >
> > > 1. Ask on [EMAIL PROTECTED]
> > > 2. Did you follow INSTALL.apache?
> > > 3. Show your config.
> > > 4. Show your logs.
> > >
> > > >I installed GNUJSP 1.0 on apache1.3.9/jserv1.1b3
> > > >But it does not work. Is there any body who succeeded with this config ?
> > > >
> > > >When I access .jsp file, It is accessed as a kind of text file showing JSP tags
> > > >in it.
> > > >And leaves no error message on log file.
> > > >So I doubted that jserv (or apache) does not recognize .jsp file.
> > > >But when I access non_exist.jsp which is not exist, JspServlet is called and try
> > > >to file that file.
> > > >
> > > >What might be the possible problem ?
> > > >
> > > Ciao,
> > >         Carsten
> > > [EMAIL PROTECTED]
> >
> > ===========================================================================
> > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> > FAQs on JSP can be found at:
> >  http://java.sun.com/products/jsp/faq.html
> >  http://www.esperanto.org.nz/jsp/jspfaq.html
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to