2012年1月19日

Servlet乱码的处理与url-pattern的配置

摘要: 问题:在Servlet输出html时很容易出现乱码的问题,如下面的例子所示1,表单页面 1 <%@ page contentType="text/html" pageEncoding="GBK" %> 2 <html> 3 <head></head> 4 <body> 5 <form action="Servlet" method="post"> 6 姓名:<input type="text" name="n 阅读全文

posted @ 2012-01-19 11:19 茫然若失 阅读(676) 评论(0) 推荐(0)

导航