09 2014 档案
摘要:byte[] 转字符串的话需要转化为base64的字符串才能可逆。 public byte[] base64ToByte(String strBase64){ if(strBase64==null)return null; byte[] bytes = null; try { BASE64Decod
阅读全文
摘要:Struts2 Interceptors 详解Struts2请求与响应的流程图:1、Struts2的整个生命周期开始于来自客户端的request请求,然后通过servlet容器执行相应的filter(此过程体现设计模式中的责任链模式)。2、FilterDispatcher被调用,它通过查找Actio...
阅读全文