首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 很简单的HTTP服务器,java写的(不仅)为教育目的

很简单的HTTP服务器,java写的(不仅)为教育目的

资 源 简 介

Very simple HTTP-Server written in Java (not only for) for educational purposes. The server is based on the nice wrapper-class "HttpServer" and functions as a normal webserver serving static HTML-sites, pictures and other binary data. Configuring You can configure the server through the config.xml while which is nothing more than a very simple XML-file where you can easily set some options. Running You can start the server from the command line via java -jar hardyhttp.jar Please note that you might need administrator/root privileges if you run hardyhttp at port 80. If you are running hardyhttp through NetBeans make sure you created a directory called "logs". Future Since a "well known" software platform has added my server to it"s catalogue, I think it"s time to enhance the server"s capabilities. It the next step I "harden" the webserver, making it"s
VIP VIP
0.192969s