Install:
Unzip httpsrv.zip to a directory of your choice.
Edit config/jzHttpSrv.properties to configure your webserver (you can leave it as is)
You need JDK1.1.6 and above or Microsoft's JVM (jview).
Microsoft's JVM comes with Internet explorer 5.0. However, to use JSP features,
You need to make sure jdk1.2's javac is in the path.
You can start the http server by:
- Jdk1.2 on Windows: double click on jzHttpSrv.jar
- Jdk1.2 on other platforms: type "java -jar jzHttpSrv.jar"
- To start the server in console, use java -jar jzHttpSrv.jar -noui
- To start the server in console and enable to terminate it by typing a enter, use
java -jar jzHttpSrv.jar -noui -con
for 1.1x JVMs:
- for GUI:
- type: java -cp .;jzHttpSrv.jar com.BajieSoft.HttpSrv.startGUI
- (Windows only) type: jview -cp .;jzHttpSrv.jar com.BajieSoft.HttpSrv.startGUI
- To start the console version:
- type: java -cp .;jzHttpSrv.jar com.BajieSoft.HttpSrv.jzHttpSrv
- (Windows only) type: jview -cp .;jzHttpSrv.jar com.BajieSoft.HttpSrv.jzHttpSrv
- For UNIX or Linux, replace the ';' with ':'.
I haven't tried it on Mac yet, but the server should work on all platforms that supports
java. If you have tried it on Mac, please let me know the install process. Thanks!
Thanks to Samir Ribic, use the following settings if you are using microsoft jvc compiler:
JSPCOMPILERSTR=jvc /cp:p jzHttpSrv.jar
CLASSPATHTAG=/cp:p
You can change them in config servlet under 'edit common server properties'
Note: Afte start the server, please connect to http://localhost/
and click on the first link (http://localhost/srvConfig/), which starts the config servlet.
The login name is admin, password is also admin. Change your password there.
After change your password, click on "Edit Common Properties" (at upper left) and
change Set perl interpreter location to enable perl.
Then change JSP compile string, replace javac to full path to the java compiler (example, c:\jdk1.x\bin\javac) on your machine
so the jsp compiler know where to find java compiler.