demo @ Youtube: http://www.youtube.com/watch?v=CogPa646vi8
Using:
[Step#1]
Download JAR file from any of the two locations below
Sourceforge Link : http://sourceforge.net/projects/sitehoster/
Google Code Link : http://code.google.com/p/sitehoster/
say you downloaded a file named "http09_v0.5beta.jar"
[Step#2]
Copy your WebSite (currently no Server Side Scripting supported) to any folder, whose Absolute Path is say "C:\temp\WebDocs"
[Step#3]
open command prompt, change directory to "http09_v0.5beta.jar"'s directory and execute following command
cmd> java -jar http09_v0.5beta.jar "C:\temp\WebDocs"
if you want "C:\temp\WebDocs\index.html" to be default file opened at Website root, then instead run following command
cmd> java -jar http09_v0.5beta.jar "C:\temp\WebDocs" index.html
if Port 80 of your machine is already busy, and you want to run it at some other port say 1234, then run following command
cmd> java -jar http09_v0.5beta.jar "C:\temp\WebDocs" index.html 1234
[NOTE]
if you are on Linux/Unix not Windows follow the Note at end of this post
PreRequirement:
Instrall Java Virtual Machine on your Computer System.
Syntax :
[] Starting HTTP Server hosting web files in
SYNTAX:
"java -jar http09_v0.5a.jar C:\WebDoc\ index.htm"
[] Starting HTTP Server hosting web files in
SYNTAX:"java -jar http09_v0.5a.jar C:\WebDoc\ index.htm 1234"
NOTE:
to make it work in Linux, download Source Code, extract it and in /SRC/MACRO/appMACRO.java file
change