文件名称:webserver
- 所属分类:
- JSP源码/Java
- 资源属性:
- [Java] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 579kb
- 下载次数:
- 0次
- 提 供 者:
- fuyi*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
基本功能:
获取远端用户的连接本地服务器的请求,并建立连接
能获取远端用户请求服务的信息,并将服务的内容提交给远端用户
能获取远端用户断开连接的请求,断开和该用户的连接
拓展功能:
必须要能够处理多用户请求,也就是需要实现多线程编码
服务器能处理简单的异常。例如文件不存在、或者没有权限读取文件等
服务器必须记录log文件。记录每次请求的用户IP,机器名、读取时间、读取文件名、服务器响应码等-Basic functions:
Access to remote users to connect a local server, the request and establish connection
To have access to the remote user requests services, and content services to be submitted to the remote user
To have access to remote users disconnected at the request, disconnect and the user connection
Development features:
Must be able to handle multiple user requests, it is the need for multi-threaded code
The server can handle simple exceptions. For example, the file does not exist, or do not have permission to read documents, etc.
The server log files must be recorded. A record of each request a user IP, machine name, reading time, read the file name, server response codes, etc.
获取远端用户的连接本地服务器的请求,并建立连接
能获取远端用户请求服务的信息,并将服务的内容提交给远端用户
能获取远端用户断开连接的请求,断开和该用户的连接
拓展功能:
必须要能够处理多用户请求,也就是需要实现多线程编码
服务器能处理简单的异常。例如文件不存在、或者没有权限读取文件等
服务器必须记录log文件。记录每次请求的用户IP,机器名、读取时间、读取文件名、服务器响应码等-Basic functions:
Access to remote users to connect a local server, the request and establish connection
To have access to the remote user requests services, and content services to be submitted to the remote user
To have access to remote users disconnected at the request, disconnect and the user connection
Development features:
Must be able to handle multiple user requests, it is the need for multi-threaded code
The server can handle simple exceptions. For example, the file does not exist, or do not have permission to read documents, etc.
The server log files must be recorded. A record of each request a user IP, machine name, reading time, read the file name, server response codes, etc.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建文件夹\.classpath
..........\.project
..........\images\123.jpg
..........\index.html
..........\RequestHandler.class
..........\WebServer.class
..........\WebServer.java
..........\多线程web服务器.doc
..........\images
新建文件夹
..........\.project
..........\images\123.jpg
..........\index.html
..........\RequestHandler.class
..........\WebServer.class
..........\WebServer.java
..........\多线程web服务器.doc
..........\images
新建文件夹