<?xml version="1.0" encoding="GBK" ?>
<!--指定struts2配置文件的DTD信息-->
<!DOCTYPE struts PUBLIC
"-//apache Software Foundation//DTD Struts Configuation 2.0//EN"
"http://struts.apache.org/dtds/struts-2.0.dtd">
<!-- struts 是struts2配置文件的根元素-->
<struts>
<package name="user" extends="strutsqs" namespace="/user">
<action name="userRegister" class="com.roadway.car.struts2.action.user.UserAction" method="userRegister">
<result name="success">/register_ok.html</result>
<result name="input">/register.jsp</result>
</action>
</package>
</struts>