home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
httpd-rb.zip
/
httpd-rb.bat
< prev
next >
Wrap
DOS Batch File
|
1999-09-06
|
890b
|
25 lines
@echo off
rem *******************************
rem * Rolf Breuning, 1999/09/05
rem * Java Http Server start script for Windows
rem *******************************
rem * Precondition:
rem * Your java environment should be available on the path.
rem * I.e. executing jre.exe on the command line should display
rem * JRE version and options
rem *******************************
rem * Settings start:
rem *******************************
rem The full path name of the server directory, excluding the trailing '\'
set servDir=C:\User\Breuning\Java\httpd-rb
rem Port number for the server
set servPort = 8081
rem *******************************
rem * Settings end
rem *******************************
set cp=%servDir%\httpd.jar;%servDir%\collections.jar
jre -cp %cp% -Drb.httpd.directory=%servDir% -Drb.log.file=%servDir%\httpd.log rb.httpd.HttpServer %servPort%