自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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 102

原创 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 106

原创 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 78

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除