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

RE: Initialization JspServlet parameters


Hey,

le séparateur de répertoire sous Windows est le ";" et non pas le ":"

Fred


-----Message d'origine-----
De : Ripalda-Marin, Miguel-Angel [mailto:maripalda@elasa.siemens.es]
Envoyé : mardi 27 juin 2000 16:40
À : gnujsp@career.gjt.org
Objet : RV: Initialization JspServlet parameters


Sure NT is not UNIX... unfortunatelly! But I had tried before writing you
with \, \\ and / in my path... so, maybe the problem is with the sintax? I
have written all the initialization parameters in one single line, may I
broke them into several?

Thanks

Miguel Ángel Ripalda Marín
Siemens Elasa S.A.
T, I + D Sistemas
Pol. Malpica, D-98 50016 Zaragoza, España
*	(34) 976 760 300 ext. 405
*	(34) 976 760 346
*	maripalda@elasa.siemens.es


-----Mensaje original-----
De: Couas Philippe [mailto:pcouas@infodev.fr]
Enviado el: martes 27 de junio de 2000 14:30
Para: 'Ripalda-Marin, Miguel-Angel'
Asunto: RE: Initialization JspServlet parameters




-----Message d'origine-----
De:	Ripalda-Marin, Miguel-Angel [SMTP:maripalda@elasa.siemens.es]
Date:	mardi 27 juin 2000 14:57
A:	gnujsp@career.gjt.org
Objet:	Initialization JspServlet parameters

Hi everybody,

I'm comming through problems as I try to setup the GNUJsp's with my Apache
1.3.12+JServ 1.1.2 inside my NT 4 system. The problem is related with the
initial parameters passed to the JspServlet... I have included the
following
line in my .properties file

servlet.gnujsp.initArgs=checkclass=true,pagebase=d:/Programas/Apache
Group/Apache/htdocs,scratchdir=d:/Programas/Apache
Group/Apache/jsp,debug=true,compiler=built-in-javac -classpath
%CLASSPATH%:%scratchdir%:d:/Programas/Apache
Group/gnujsp-1.0.0/lib/servlet-2.0-plus.jar:d:/Programas/Apache
Group/gnujsp-1.0.0/lib/gnujsp10.jar:d:/Programas/Apache Group/Apache JServ
1.1.2/qpsetm/WEB-INF/classes:d:/Programas/Apache Group/Apache JServ
1.1.2/qpsetm/WEB-INF/lib -d %scratchdir% -deprecation %source%

But, when I try to access my helloWorld jsp... I get an error, and inside
the mod_jserv.log writes the following message

(ERROR) ajp12: Servlet Error: Initialization error while loading the
servlet: gnujsp: missing init parameter : "scratchdir", 1

So, what am I doing wrong with the scratchdir? Thanks in advance...

Miguel Angel Ripalda Marin
Siemens Elasa S.A.
T, I + D Sistemas
Pol. Malpica, D-98 50016 Zaragoza, Espana
*	(34) 976 760 300 ext. 405
*	(34) 976 760 346
*	maripalda@elasa.siemens.es

NT is not UNIX \ not /

JSP 1.0.0 with apache 1.3.9 and JSERV1.1

servlet.gnujsp.initArgs=checkclass=true,pagebase=D:\Apache~1\Apache\htdo
cs,scratchdir=D:\Apache~1\gnujsp100\class_dyn,debug=true,compiler=builti
n-javac -g -classpath
%classpath%:%scratchdir%;D:\Java\jsdk21\servlet.jar;D:\Apache~1\gnujsp10
0\lib\servlet-2.0-plus.jar;D:\Apache~1\gnujsp100\lib\gnujsp10.jar -d
%scratchdir% -deprecation %source%