With the aid off all the reflectants to my first 'stupid' -newbie questions,
I finally came to the point where the first JSP-examples are running.
However the 'Snoop' example still refuses to compile, complaining that it
can't find a package containing some COM.sun.... stuff.

After I receive this message ALL my internet-requests from any browser
(Nescape 4.5 and IE4) are blocked - even to website running on my own
machine - and it is only the following day that I can use internet again. (I
assume that the previous state is restored during backup). That is why I
only dare to experiment with JSP at the end of the day.

I have installed JSP 1.0 and JDK 1.2.1

Default cfg is as follows:

# $Id: default.cfg,v 1.9 1999/04/23 22:31:51 gonzo Exp $
# Default configuration file for Project Tomcat

server.port=8080
server.hostname=dlgutr004s
server.inet=10.180.1.24
server.docbase=webpages
server.workdir=work

server.webapp.examples.mapping=/examples
server.webapp.examples.docbase=examples

# server.app.wombat.mapping=/wombat
# server.app.wombat.base=http://wombat.eng/apps/wombat.web

Startserver.bat is as follows:

@echo off
if "%CLASSPATH%" == "" goto noclasspath
rem else
set _CLASSPATH=%CLASSPATH%
set
CLASSPATH=d:\jdk1.2.1\lib\tools.jar;f:\jsp1.0\server.jar;f:\jsp1.0\servlet.j
ar;f:\jsp1.0\classes;f:\jsp1.0\examples\WEB-INF\jsp\beans;%CLASSPATH%
goto next
:noclasspath
set _CLASSPATH=
set CLASSPATH=server.jar;servlet.jar;examples\WEB-INF\jsp\beans;classes
goto next
:next
start java -Djsp.keepgenerated=false com.sun.web.shell.Startup %1 %2 %3 %4
%5 %6 %7 %8 %9
set CLASSPATH=%_CLASSPATH%
set _CLASSPATH=

Stopserver.bat is as follows:

@echo off
if "%CLASSPATH%" == "" goto noclasspath

rem else
set _CLASSPATH=%CLASSPATH%
set
CLASSPATH=d:\jdk1.2.1\lib\tools.jar;f:\jsp1.0\server.jar;f:\jsp1.0\servlet.j
ar;f:\jsp1.0\classes;f:\jsp1.0\examples\WEB-INF\jsp\beans;%CLASSPATH%
rem set
CLASSPATH=server.jar;servlet.jar;classes;examples\WEB-INF\jsp\beans;%CLASSPA
TH%
goto next
:noclasspath
set _CLASSPATH=
set CLASSPATH=server.jar;servlet.jar;examples\WEB-INF\jsp\beans;classes
goto next
:next
rem echo Using Classpath: %CLASSPATH%
java com.sun.web.shell.Shutdown %1 %2 %3 %4 %5 %6 %7 %8 %9
set CLASSPATH=%_CLASSPATH%
set _CLASSPATH=
pause

Environment settings are:
PATH=D:\jdk1.2.1\bin;\IBMVJAVA\EAB\jdk\bin;D:\IBMVJAVA\EAB\bin;D:\IBMVJAVA\E
AB\odbc32;%SystemRoot%\system32;%SystemRoot%
CLASSPATH=D:\jdk1.2.1\bin;D:\jdk1.2.1\lib;F:\jsp1.0;D:\IBMVJAVA\EAB\bdk\clas
ses;D:\IBMVJAVA\EAB\jdk\lib\classes.zip;D:\IBMVJAVA\EAB\classes;D:\IBMVJAVA\
EAB\runtime;.


After I issue the command http://dlgutr004s:8080
f:\jsp1.0\examples\jsp\index.html is loaded and most of the examples compile
and run until the above mentioned problem occurs.

If I run stopserver.bat the MD-dos box which was started from
startserver.bat is closed but I don't see that any program is being
executed.

Can anyone give me any clue to solve this problem?

Ben Engbers

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to