摘要: <script type="text/javascript" src="js/jquery.validate.js"></script><script type="text/javascript" src="js/jquery.metadata.js"></script><script type=" 阅读全文
posted @ 2016-07-07 11:54 kisstear 阅读(523) 评论(0) 推荐(0) 编辑
摘要: //获取部门id String departmentId = (String)this.getRequest().getParameter("departmentId"); //根据部门id查询用户list List adminList = adminService.findAllListBydepartment(departmen... 阅读全文
posted @ 2016-06-22 14:07 kisstear 阅读(521) 评论(0) 推荐(0) 编辑
摘要: import org.springframework.security.Authentication; import org.springframework.security.context.SecurityContextHolder; import org.springframework.security.providers.UsernamePasswordAuthenticatio... 阅读全文
posted @ 2016-06-17 14:01 kisstear 阅读(792) 评论(0) 推荐(0) 编辑
摘要: x'ml配置文件 实体类 阅读全文
posted @ 2016-05-31 15:17 kisstear 阅读(133) 评论(0) 推荐(0) 编辑
摘要: import org.apache.commons.io.FileUtils; @Controller public class AccountController extends BaseAction{ @RequestMapping("/add") public String add(@RequestParam("upFile") MultipartFile file, ... 阅读全文
posted @ 2016-05-19 11:23 kisstear 阅读(200) 评论(0) 推荐(0) 编辑
摘要: /** * 生成excel并下载 */ public void exportExcel(){ File newFile = createNewFile(); //File newFile = new File("d:/ss.xls"); //新文件写入数据,并下载*******... 阅读全文
posted @ 2016-05-05 13:23 kisstear 阅读(14290) 评论(0) 推荐(1) 编辑
摘要: 下载js插件 产品图片: 阅读全文
posted @ 2016-04-21 14:05 kisstear 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 后台 阅读全文
posted @ 2016-04-21 13:57 kisstear 阅读(2356) 评论(0) 推荐(0) 编辑
摘要: /** * Method onUpload$uploadAttach 上传附件 * @param e * @param uploaded * @param page */ public static void uploadAttach(Upl... 阅读全文
posted @ 2015-12-21 11:23 kisstear 阅读(401) 评论(0) 推荐(0) 编辑
摘要: web.xml:CdnContractServletcom.dnion.dayu.jasper.CdnContractServletCdnContractServlet/cdncontract 调用方式:Session session = Sessions.getCurrent();session.... 阅读全文
posted @ 2015-10-13 14:09 kisstear 阅读(316) 评论(0) 推荐(0) 编辑