BZJavaInst
Programmer
I was able to get servlets working with the JSDK2.1.
It appears that the startserver.bat file the comes with the JSDK2.1 only works on Windows NT. That is why the Servlets do not work on my Windows 98 machine.
Does anyone know if there is one for Windows 98?
thanks,
Brian
Here is startserver.bat for NT:
@echo on
rem $Id: startup.bat,v 1.8 1999/04/09 19:50:34 duncan Exp $
rem Startup batch file for servlet runner.
rem This batch file written and tested under Windows NT
rem Improvements to this file are welcome
if "%CLASSPATH%" == "" goto noclasspath
rem else
set _CLASSPATH=%CLASSPATH%
set CLASSPATH=server.jar;servlet.jar;classes;%CLASSPATH%
goto next
:noclasspath
set _CLASSPATH=
set CLASSPATH=server.jar;servlet.jar;classes
goto next
:next
rem echo Using classpath: %CLASSPATH%
start java com.sun.web.shell.Startup %1 %2 %3 %4 %5 %6 %7 %8 %9
rem clean up classpath after
set CLASSPATH=%_CLASSPATH%
set _CLASSPATH=
It appears that the startserver.bat file the comes with the JSDK2.1 only works on Windows NT. That is why the Servlets do not work on my Windows 98 machine.
Does anyone know if there is one for Windows 98?
thanks,
Brian
Here is startserver.bat for NT:
@echo on
rem $Id: startup.bat,v 1.8 1999/04/09 19:50:34 duncan Exp $
rem Startup batch file for servlet runner.
rem This batch file written and tested under Windows NT
rem Improvements to this file are welcome
if "%CLASSPATH%" == "" goto noclasspath
rem else
set _CLASSPATH=%CLASSPATH%
set CLASSPATH=server.jar;servlet.jar;classes;%CLASSPATH%
goto next
:noclasspath
set _CLASSPATH=
set CLASSPATH=server.jar;servlet.jar;classes
goto next
:next
rem echo Using classpath: %CLASSPATH%
start java com.sun.web.shell.Startup %1 %2 %3 %4 %5 %6 %7 %8 %9
rem clean up classpath after
set CLASSPATH=%_CLASSPATH%
set _CLASSPATH=