<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd">
<struts>
<package name="user" extends="struts-default">
<action name="saveUser_*" class="saveUserAction" method="{1}">
<result name="success">/user/aboutACM.jsp</result>
<result name="input">/failure.jsp</result>
</action>
</package>
</struts>
使用
action="saveUser_success"
常用jar包
commons-fileupload-1.2.1
commons-io-1.3.2
commons-logging-1.0.4
freemarker-2.3.15
mysql-connector-java-5.1.10-bin 连mysql数据库
ognl-2.7.3
spring-web 跟spring整合
struts2-core-2.1.8.1
xwork-core-2.1.6