- 博客(3)
- 收藏
- 关注
原创 删除数据后request.getRequestDispatcher()到页面中文乱码
直接进入page1.jsp不会乱码,但是让servlet删除数据库的数据后request.getRequestDispatcher()到page1.jsp页面后页面的中文就全都乱码了,因为没有在PrintWriter out = response.getWriter();的out对象前作编码处理,解决办法就是在PrintWriter out = response.getWriter();前加上re...
2016-04-02 19:04:54
143
原创 The reference to entity "characterEncoding" must end with the ';' delimiter.
编写程序的时候,不管是自动生成hibernate还是手动编写的什么代码,都有可能出现这个错误:The reference to entity "characterEncoding" must end with the ';' delimiter.。原因可能是系统识别不出某个字符,所以只要改为系统能够识别的就好了,一般是“&",有问题改为“&"就好,若是其他的就照下面的...
2015-05-01 12:12:40
171
原创 Can not find the tag library descriptor for "/struts-tags
有时候这句话会出现错误 <%@ taglib prefix="s" uri="/struts-tags"%>,Can not find the tag library descriptor for "/struts-tags,是因为项目少了两个包jstl.jar 和 standard.jar,只要再随便新建一个项目,J2EE选择1.4那个,下面那个JSTL Support勾上...
2015-04-29 22:52:14
117
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人