摘要: 这是struts中的公共页面jsp访问控制action,其基本思路就是通过使用通配符的方式控制拦截jsp。它是struts的核心之一:其中用到了几个struts默认的值:1.action默认是继承ActionSupport的,2.默认的访问方法是execution(),3.默认的返回值是succes 阅读全文
posted @ 2017-03-18 14:35 昨天的你,现在的未来 阅读(434) 评论(0) 推荐(0) 编辑
摘要: MD5加密: public class myStringUtil { /** * * @param key 要加密的字符串 * @return MD5加密后的字符串 */ public static String getMD5key(String key){ try { //1.从jdk获取消息摘要 阅读全文
posted @ 2017-03-18 11:17 昨天的你,现在的未来 阅读(181) 评论(0) 推荐(0) 编辑