Fork me on GitHub
摘要: package com.souvc.utils;public class RandomGenerator { public RandomGenerator() { } public static String getRandomNum(int number){ Str... 阅读全文
posted @ 2015-06-01 14:45 刘哥聊技术 阅读(450) 评论(0) 推荐(0) 编辑
摘要: request.getScheme();//可以返回当前页面使用的协议,就是“http”request.getServerName();//可以返回当前页面所在的服务器的名字,其实就是一般的localhost,如果是真的部署在服务器上那就是服务器的地址request.getServerPort;//... 阅读全文
posted @ 2015-06-01 12:11 刘哥聊技术 阅读(499) 评论(0) 推荐(0) 编辑