[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Home]
Re: (newbie) need some helpwith database access via jsp
Try org.gjt.jsp.JspServlet instead of org.gjt.jsp.JSPServlet. It is an easy
thing to miss.
----
George
>From: "A Chawla" <anoop.chawla@sympatico.ca>
>To: <gnujsp@gjt.org>
>Subject: Re: (newbie) need some helpwith database access via jsp
>Date: Thu, 14 Oct 1999 16:25:27 -0400
>
>I updated to 1.0 snapshot version(19991013-1100) and tried following the
>INSTALL.apache.
>
>Unfortunately, I'm getting
>Servlet Error: ClassNotFoundException: org.gjt.jsp.JSPServlet
>(org.gjt.jsp.JSPServlet)
>
>Here are the relevant config changes I made:
>
>in my production.properties file:
>
>repositories=
>C:\Progra~1\Apache~1\Apache\htdocs\servlets\production,
>C:\jdk1.2.2\lib\tools.jar,C:\jdk1.2.2\lib\dt.jar,
>C:\gnujsp10\gnujsp-1.0cvs-19991013-1100\lib\gnujsp10cvs.jar,
>C:\gnujsp10\gnujsp-1.0cvs-19991013-1100\lib\servlet-2.0-plus.jar,
>C:\beans,C:\InterBaseCorp\interclient\interclient.jar
>
>Aliases
>servlet.gnujsp.code=org.gjt.jsp.JSPServlet (I also tried
>org.gjt.jsp10.JSP10Servlet, which hangs the web server and
>org.gjt.jsp.JSP10Servlet)
>
>
>Alias Init Args
>servlet.gnujsp.initArgs=checkclass=true,pagebase=/progra~1/apache~1/apache/h
>tdocs,
>scratchdir=/progra~1/apache~1/apache/htdocs/gnujsp,
>debug=true,
>compiler=builtin-javac -classpath
>%classpath%:%scratchdir%:/gnujsp10/gnujsp-1.0cvs-19991013-1100/lib/servlet-2
>.0-plus.jar:/gnujsp10/gnujsp-1.0cvs-19991013-1100/lib/gnujsp10cvs.jar:/beans
> -d %scratchdir% -deprecation %source%
>
>In the jserv.properties, I have:
>
>wrapper.classpath=c:\jsdk2.0\lib\jsdk.jar
>wrapper.classpath=C:\Program Files\Apache Group\Apache
>JServ\ApacheJServ.jar
>wrapper.classpath=C:\jdk1.2.2\lib\tools.jar
>wrapper.classpath=C:\gnujsp10\gnujsp-1.0cvs-19991013-1100\lib\gnujsp10cvs.ja
>r
>
>
>In mod_jserv.conf I have:
>
>ApJServMount /servlets /production
>
>ApJServAction .jsp /servlets/gnujsp
>
>
>Thanks again for your assistance.
>
>Anoop
>
> >Please try version 1.0 (cvs snapshot) and read the notes
> >regarding "jdbcbean(s)" in INSTALL.apache.
> >Thats the only version which is supported.
> >I guess you forgot to add the directory where you store your
> >DataBaseSelect.class to the compile CLASSPATH.
> >
> >>
> >>I'm new to this jsp stuff. Does anyone have a simple jsp which accesses
>=
> >>a database that I can take a look at?
> >>
>
>
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com