摘要: hibernate--org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [from User] 阅读全文
posted @ 2013-11-29 11:27 meetcomet 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 1045 Access denied for user 'root'@'localhost' 错误的解决方法 阅读全文
posted @ 2013-11-18 10:19 meetcomet 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 使用execAndWait拦截器 阅读全文
posted @ 2013-11-13 15:10 meetcomet 阅读(709) 评论(0) 推荐(0) 编辑
摘要: 利用token和tokenSession拦截器对重复提交表单行为进行拦截。 阅读全文
posted @ 2013-11-12 16:27 meetcomet 阅读(4136) 评论(1) 推荐(2) 编辑
摘要: WARNING: No configuration found for the specified action:的解决方法 阅读全文
posted @ 2013-11-12 13:31 meetcomet 阅读(304) 评论(0) 推荐(0) 编辑
摘要: No result defined for action 出错的根源、解决方法和原理。 阅读全文
posted @ 2013-11-12 13:06 meetcomet 阅读(3491) 评论(0) 推荐(1) 编辑
摘要: The method getRealPath(String) from the type ServletRequest is deprecated request.getRealPath(''"")错误 阅读全文
posted @ 2013-11-12 12:42 meetcomet 阅读(1684) 评论(0) 推荐(0) 编辑
摘要: struts2中文件下载的方法。简单说就是设置一个action,其result输出类型为stream类型。配置参数包含文件类型,文件名称,缓冲大小等。 阅读全文
posted @ 2013-11-11 22:35 meetcomet 阅读(188) 评论(0) 推荐(0) 编辑
摘要: struts2中文件下载中中文乱码,中文文件名乱码问题的解决方案 阅读全文
posted @ 2013-11-11 21:16 meetcomet 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 多个文件上传常用的两种方式,数组和LIST。和单个文件差不多。只不过 多了几个,相应的doc,docFileName,docContentType都成了数组或者LIST。 阅读全文
posted @ 2013-11-07 20:59 meetcomet 阅读(205) 评论(0) 推荐(0) 编辑