摘要: Action:extjs: 阅读全文
posted @ 2014-01-26 17:42 esther& 阅读(233) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-01-26 17:06 esther& 阅读(223) 评论(0) 推荐(0)
摘要: //interge或Long的置0,BigDecimal类型的设置默认值为0.0000 Field[] fields=QualityProblem.class.getDeclaredFields(); for(Field field:fields){ // Object type=field.getType().toString().substring(field.getType().toString().lastIndexOf(".")+1, field.getType().toString().length()); //String name=field.getName 阅读全文
posted @ 2014-01-26 13:56 esther& 阅读(194) 评论(0) 推荐(0)
摘要: 一://获取properties对象Properties prop=new Properties();InputStream in=Object.class.getResourceAdAtream("/test.properties");InputStream in=this.class.getResourceAdAtream("/test.properties");二://获取当前类所在的包File fileB = new File(this.getClass().getResource("").getPath()); 三://获取 阅读全文
posted @ 2013-11-04 11:39 esther& 阅读(432) 评论(0) 推荐(0)
摘要: //全选javascript实现批量审核servlet:publicvoiddoPost(HttpServletRequestrequest,HttpServletResponseresponse)throwsServletException,IOException{//设置请求与响应的编码格式request.setCharacterEncoding("utf-8");response.setCharacterEncoding("utf-8");//获得out对象实例PrintWriterout=response.getWriter();//获得Good 阅读全文
posted @ 2013-10-22 23:34 esther& 阅读(902) 评论(0) 推荐(0)