摘要: 1.通过ServletResponse的()方法可以设置响应的字符编码类型(选择一项)。 A:setCharacterEncoding (String charset) B:setCharacterEncode (String charset) C:setCharset (String charse 阅读全文
posted @ 2016-07-04 08:41 吴松~ 阅读(161) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-07-04 08:40 吴松~ 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 1.0先在页面上初始化 代码 enctype=多部分的表单数据,并且如果form表单的属性中多了enctype="multipart/form-data",是不能使用request.getParameter(name属性的) 效果图 1.12:在WEB-ROOT的根目录下创建一个test.jsp,实 阅读全文
posted @ 2016-07-04 08:39 吴松~ 阅读(119) 评论(0) 推荐(0) 编辑