headFirst--JSP and Servlet学习札记
iteye_9085
这个作者很懒,什么都没留下…
展开
-
时间:20100915学习
一、get or post?We can send data to the data processing page by both the GET and POST methods of a form. Both methods are used in form data handling where each one has some difference on the way they ...原创 2010-09-15 19:58:34 · 83 阅读 · 0 评论 -
javaWeb编码问题
1.调用JSP页面出现乱码:通过浏览器调用JSP页面,在浏览器中显示中文内容出现乱码。首先确认JSP文件在编辑器中保存为“UTF-8”,然后在JSP页面中添加“<%@ pageEncoding="UTF-8" %>”即可解决中文乱码问题。2.调用Servlet页面显示乱码通过浏览器调用Servlet,Servlet中通过PrintWriter输出地中文出现乱码。...原创 2010-09-21 23:29:54 · 120 阅读 · 0 评论