struts超简单入门(二)
【hello.jsp】内容:
【struts-config.xml】内容: 【web.xml】内容: The Webapp Framework Set Character Encoding com.javer.test.struts.EncodingFilter encoding UTF-8 The Webapp Framework Set Character Encoding /* action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml 2 action *.do /WEB-INF/struts-bean.tld /WEB-INF/lib/struts-bean.tld /WEB-INF/struts-html.tld /WEB-INF/lib/struts-html.tld /WEB-INF/struts-logic.tld /WEB-INF/lib/struts-logic.tld
【hello.jsp】内容:
Hello !
【struts-config.xml】内容: 【web.xml】内容: The Webapp Framework Set Character Encoding com.javer.test.struts.EncodingFilter encoding UTF-8 The Webapp Framework Set Character Encoding /* action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml 2 action *.do /WEB-INF/struts-bean.tld /WEB-INF/lib/struts-bean.tld /WEB-INF/struts-html.tld /WEB-INF/lib/struts-html.tld /WEB-INF/struts-logic.tld /WEB-INF/lib/struts-logic.tld
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/374079/viewspace-131278/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/374079/viewspace-131278/