java
peoples_lover
这个作者很懒,什么都没留下…
展开
-
文件读写遇到InputStream.available()一直返回0
InputStream lastRevision = af.extractLastRevision(name); if (null == lastRevision) return 1; ByteArrayOutputStream out = new ByteArrayOutputS原创 2014-11-14 10:06:14 · 3370 阅读 · 0 评论 -
action定义request response直接重定向页面方法
HttpServletRequest request = ServletActionContext.getRequest(); HttpServletResponse response = ServletActionContext.getResponse();// System.out.println(request.getContextPath())原创 2014-11-25 18:03:40 · 476 阅读 · 0 评论 -
获取一组radio的checked的value值
var obj= $("input[name='radio']:checked").val();原创 2014-12-08 14:22:14 · 729 阅读 · 0 评论 -
获取一组radio中checked的value值
dsc原创 2014-12-08 14:19:51 · 565 阅读 · 0 评论 -
Response.ContentType类型汇总
Response.ContentType="类型名";来确定输出格式 'ez' => 'application/andrew-inset', 'hqx' => 'application/mac-binhex40', 'cpt' => 'application/mac-compactpro', 'doc' => 'application/msword', 'bin'原创 2014-12-30 16:31:41 · 308 阅读 · 0 评论