会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
kisstear
博客园
首页
新随笔
联系
管理
订阅
2016年7月7日
jquery添加自定义校验
摘要: <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
阅读(527)
评论(0)
推荐(0)
2016年6月22日
json转化对特殊字段的处理
摘要: //获取部门id String departmentId = (String)this.getRequest().getParameter("departmentId"); //根据部门id查询用户list List adminList = adminService.findAllListBydepartment(departmen...
阅读全文
posted @ 2016-06-22 14:07 kisstear
阅读(525)
评论(0)
推荐(0)
2016年6月17日
模仿spring authentication-provider 自己写登录人管理
摘要: import org.springframework.security.Authentication; import org.springframework.security.context.SecurityContextHolder; import org.springframework.security.providers.UsernamePasswordAuthenticatio...
阅读全文
posted @ 2016-06-17 14:01 kisstear
阅读(806)
评论(0)
推荐(0)
2016年5月31日
hibernate自动建表
摘要: x'ml配置文件 实体类
阅读全文
posted @ 2016-05-31 15:17 kisstear
阅读(137)
评论(0)
推荐(0)
2016年5月19日
java 上传文件
摘要: 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
阅读(206)
评论(0)
推荐(0)
2016年5月5日
java实现赋值excel模板,并在新文件中写入数据,并且下载
摘要: /** * 生成excel并下载 */ public void exportExcel(){ File newFile = createNewFile(); //File newFile = new File("d:/ss.xls"); //新文件写入数据,并下载*******...
阅读全文
posted @ 2016-05-05 13:23 kisstear
阅读(14386)
评论(0)
推荐(1)
2016年4月21日
实现图片预览
摘要: 下载js插件 产品图片:
阅读全文
posted @ 2016-04-21 14:05 kisstear
阅读(168)
评论(0)
推荐(0)
ajax+jquery实现父页面弹出子页面,选择提交后给父页面传值
摘要: 后台
阅读全文
posted @ 2016-04-21 13:57 kisstear
阅读(2381)
评论(0)
推荐(0)
2015年12月21日
上传附件,压缩并加密
摘要: /** * Method onUpload$uploadAttach 上传附件 * @param e * @param uploaded * @param page */ public static void uploadAttach(Upl...
阅读全文
posted @ 2015-12-21 11:23 kisstear
阅读(424)
评论(0)
推荐(0)
2015年10月13日
web配置servlet
摘要: web.xml:CdnContractServletcom.dnion.dayu.jasper.CdnContractServletCdnContractServlet/cdncontract 调用方式:Session session = Sessions.getCurrent();session....
阅读全文
posted @ 2015-10-13 14:09 kisstear
阅读(328)
评论(0)
推荐(0)
下一页
公告