try enclosing those parts in your path that have spaces with quotes, Better yet--
reinstall the whole shebang in its own dir outside of program files so you avoid the
space problem altogether.
ie
servlets.startup=gnujsp
servlet.gnujsp.code=org.gjt.jsp.JspServlet
servlet.gnujsp.initArgs=scratchdir="c:\Program Files\Apache Group\Apache
Jserv\jsp",pagebase="c:\Program Files\Apache Group\Apache\jsp",
scratchdir="c:\Program Files\Apache Group\Apache
Jserv\jsp\",checkclass=true,debug=true,compiler=c:\jdk1.2.1\bin\javac.exe
-classpath
%classpath%:%scratchdir%:c:\gnujsp-1.0.0\lib\servlet-2.0-plus.jar:c:\gnujsp-1.0.0\lib\gnujsp10.jar
-d %scratchdir% -deprecation %source%
HTH
At 11:47 AM 05/25/2000 +0000, you wrote:
>Hi All,
>
>I am facing a problem in execution of JSP on the Apache web server.
>
>The GNUJSP is generating the servlet, and after that it shows the error
>
>"Error compiling source file: file:c:/program files/apache
>group/apache/htdocs/jsp/win.jsp
>
>sun.tools.javac.Main"
>
>I have included the following init args in the property file:
>"
>servlets.startup=gnujsp
>servlet.gnujsp.code=org.gjt.jsp.JspServlet
>servlet.gnujsp.initArgs=scratchdir=c:\Program Files\Apache Group\Apache
>Jserv\jsp,pagebase=c:\Program Files\Apache Group\Apache\jsp,
>scratchdir=c:\Program Files\Apache Group\Apache
>Jserv\jsp\,checkclass=true,debug=true,compiler=c:\jdk1.2.1\bin\javac.exe
>-classpath
>%classpath%:%scratchdir%:c:\gnujsp-1.0.0\lib\servlet-2.0-plus.jar:c:\gnujsp-1.0.0\lib\gnujsp10.jar
>-d %scratchdir% -deprecation %source%
>"
>
>I have also set system classpath.
>
>Can anybody tell me what can be wrong in this
>
>Thanks & Regards
>Manu
========================================================
Maureen Fisher, CIT/ASDT, Cornell University
Ithaca, NY 14850
[EMAIL PROTECTED]
http://mo.cit.cornell.edu/
Ad astra per aspera
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets