摘要: try { //根据String形式创建一个URL对象 String filePath = materialProductWorks.getDownloadImageUrl(); URL url = new URL(filePath); //实列一个URLconnection... 阅读全文
posted @ 2015-08-17 16:44 #料 阅读(217) 评论(0) 推荐(0) 编辑
摘要: ServletContext context = request.getSession().getServletContext();WebApplicationContext wac = WebApplicationContextUtils.getRequiredWebApplicationCont... 阅读全文
posted @ 2015-08-17 14:09 #料 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: 当IT民工测试时,质管部门比较懒时,用360记住了用户名和密码时,360会根据当前页面的username及password 进行填充,为了避免这个问题,在页面添加两句话就可以了问题就解决了 阅读全文
posted @ 2015-07-15 15:14 #料 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 刚刚360浏览器提示 Uncaught TypeError: object is not a function,找了半天发现问题是我有一个按钮,id和方法重复了,所以提示这个。分配onclick的scores()这个方法与input的name 名字重复这样写会导致错误。 阅读全文
posted @ 2015-07-15 15:05 #料 阅读(1462) 评论(0) 推荐(1) 编辑
摘要: 1、项目下载地址:http://plugins.jquery.com/validation/2、引入3.使 form表单的某个属性validate失效4.$("#address").rules("remove", "required");5.将validate 验证正常6.将validate 验证失... 阅读全文
posted @ 2015-06-24 19:07 #料 阅读(236) 评论(0) 推荐(1) 编辑