request.getRemoteAddr()是获得客户端的ip地址。 request.getRemoteHost()是获得客户端的主机名。
posted on 2013-01-18 17:06 、八月份的前奏 阅读(165) 评论(0) 编辑 收藏 举报