【hello.jsp】内容:
hello !
【struts-config.xml】内容:
<?xml version="1.0" encoding="utf-8"?> "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
【web.xml】内容:
<?xml version="1.0" encoding="utf-8"?> 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