摘要: 1.eclipse中tomcat控制台出现中文乱码 具体方法是:右键工程->Run As->Run Configurations...->Tomcat v6.0 server(这里可能不太一致) ->Common->Encoding 把默认的cp1252修改为UTF-8 阅读全文
posted @ 2012-06-20 16:40 肖建春 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 1.create a Filter handler class 2.config this Filter in web.xml Filter is just an enhanced Servlet, it can do pre-handle to request, and do suf-handle 阅读全文
posted @ 2012-06-20 15:55 肖建春 阅读(95) 评论(0) 推荐(0) 编辑
摘要: Why use JSP self-define tag: to decrease the ugly Jsp script 阅读全文
posted @ 2012-06-20 14:23 肖建春 阅读(100) 评论(0) 推荐(0) 编辑