Description: 用Java实现Web服务器
本文实现了GET请求的Web服务器程序的方法,通过创建ServerSocket类对象,监听端口8080; 等待、接受客户机连接到端口8080; 创建与socket字相关联的输入流和输出流 然后,读取客户机的请求信息,若请求类型是GET,则从请求信息中获取所访问的HTML文件名,如果HTML文件存在,则打开HTML文件,把HTTP头信息和HTML文件内容通过socket传回给Web浏览器,然后关闭文件。否则发送错误信息给Web浏览器。最后,关闭与相应Web浏览器连接的socket字。-Java Web server is to achieve a GET request to the Web server, through the creation of ServerSocket class object, bugging port 8080; Wait, a client is connected to port 8080; Socket character creation and the associated input and output streams flow then read the client's request information, if the request is the type of GET, request information from being accessed visit HTML document, and if the HTML document exists, then open the HTML file, HTTP headers and HTML files through the socket sent back to the Web browser and then close the file. Otherwise, send the wrong message to the Web browser. Finally, the closing and the corresponding Web browser connected to the socket word. Platform: |
Size: 10240 |
Author:雨岳 |
Hits:
Description: 用Java实现Web服务器连接:Web浏览器与Web服务器建立连接。2.请求:Web浏览器通过socket向Web服务器提交请求。3.应答:Web浏览器提交请求后,通过HTTP传送给Web服务器。Web服务器接到请求后,进行事务处理,处理结果又通过HTTP传回给Web浏览器,从而在Web浏览器上显示出所请求的页面。4.关系连接:当应答结束后,Web浏览器与Web服务器必须断开,以保证其它Web浏览器能够与Web服务器建立连接。-Java Web server : Web browsers and Web servers establish a connection. 2. Request : Web browser through the socket to the Web server submits the request. 3. Response : Web browser after the request, transmitted to the Web HTTP server. Web server upon request, conduct of business, and the results passed back to the traditional HTTP Web browser, so the Web browser will display the requested page. 4. Relations link : When respondents end, Web browser and Web server to be disconnected, to ensure that other Web browsers and Web servers to establish a connection. Platform: |
Size: 7168 |
Author:LIYIN |
Hits:
Description: 用java开发的,支持jsp,高性能小型http服务器。-java development with the support of jsp, high-performance mini- http server. Platform: |
Size: 2269184 |
Author:学金 |
Hits:
Description: 本程序是一个web服务器,在 .NET 环境下运行。
实现了 HTTP/1.1 的部分内容,目前它支持GET和HEAD命令,支持断点续传和多线程下载,
在Windows NT/2000/XP环境下,可以运行EXE格式的CGI程序,URL格式为"http://website/cgi.exe?+传递的参数",
注意带上"?",如需传递多个参数,中间用"+"分隔;
如果你有其他的脚本解释程序,或者独立的运行环境(如ASP,PHP,JAVA);
在进行适当的配置之后,也可以作为服务器端程序运行以输出动态页面。-this program is a web server, and.NET operating environment. HTTP/1.1 realized part, it supports GET and HEAD orders HTTP supports multithreading and download the Windows NT/2000/XP environment, EXE format can run the CGI program, URL format for the "http :// website/cgi.exe transmission parameters, "bring attention", "For a number of transmission parameters, intermediate "with" the separation; If you have other scripts interpretation of the procedures, or an independent operating environment (such as ASP, PHP, Java); conducting the appropriate configuration, can be used as the server operating procedures for export dynamic pages. Platform: |
Size: 33792 |
Author:校风 |
Hits:
Description: This release includes versions of the JavaMail API implementation, IMAP,MTP, and POP3 service providers, some examples, and documentation for the JavaMail
API.
Please see the FAQ at http://java.sun.com/products/javamail/FAQ.html-This release includes versions of the Java Mail API implementation, IMAP, MTP. POP3 and service providers, some examples. and documentation for the JavaMail API. Please see the FAQ at http :// java.sun.com/products/javamail/FAQ.htm l Platform: |
Size: 2387968 |
Author:lyva1982 |
Hits:
Description: Java写的WebClient,去掉.zip后缀,双击即可运行Jar文件(前提是有Java环境),模拟客户端向服务器发出HTTP请求,可自行编辑Headers-Java write WebClient and remove. Zip extension. Double-click can run Jar (premise is Java environment), Simulation client to the server HTTP request, may be edited Headers Platform: |
Size: 8192 |
Author:龙文 |
Hits:
Description: 不到200行的WWW服务器java版
多线程的,几个IE同时请求应该没问题
内附说明,对学习JAVA多线程及
HTTP协议很有帮助-200 less than the WWW server java version of multithreading, Several IE with the request should be no problem to the accompanying literature, to learn Java Multithreading and HTTP protocol helpful Platform: |
Size: 10240 |
Author:tary |
Hits:
Description: MyUploader 是一款使用 http 协议(RFC 1867)用于上传文件和文件夹到一个网络服务器的简单易用的收费 Java 程序.使用托拽操作,你可以在短时间之内上传数以百计的文件.在上传文件的过程当中提供一个可视化进度条. -MyUploader is a use http protocol (RFC 1867) used to upload files and folders to a web server, easy-to-use Java program fees. The use of occasional drag operation, you can upload in a short time and several hundred of documents. In the process of upload files to provide a visualization of the progress bar. Platform: |
Size: 749568 |
Author:likeilike |
Hits:
Description: 基于java nio实现的http服务器,多线程,性能通过测试,正在研究nio或者服务器的朋友可以看下-Java nio realize based on the http server, multithreading, performance through testing, is studying the nio server or friends can facie Platform: |
Size: 26624 |
Author:dev |
Hits:
Description: 实现了视频图像的web发布,
和spcaview-20071224.tar.gz配合使用
服务器端:servfox-R1_1_3.tar.gz
客户端:spcaview-20071224.tar.gz
spcaview-20071224 文件夹里有<http-java-applet>,此是WEB客户端,将此客户端上传到开发
板上的WEB文件夹中,则在浏览器输入 http://192.168.1.186/index-sample.html则可看到摄像
头采集来的图片了。
需要安装 java
-Video images to achieve a web publishing, and spcaview-20071224.tar.gz with the use of server-side: servfox-R1_1_3.tar.gz client: spcaview-20071224.tar.gzspcaview-20071224 folder, there are <http-java-applet >, this is the WEB client, client to upload to the development of on-board the WEB folder, then enter in the browser can see http://192.168.1.186/index-sample.html camera acquisition to the picture of. Need to install java Platform: |
Size: 104448 |
Author:vincent.huang |
Hits:
Description: http代理的java实现,可以自己设置代理的ip和端口,然后启动httpproxy就可以运行了,放心使用吧,没问题的-http proxy java realize, you can set up their own proxy ip and port, and then start httpproxy can run, and rest assured that the use of it, no problem Platform: |
Size: 6144 |
Author:freewyj |
Hits: