struts.xml:
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.0//EN""http://struts.apache.org/dtds/struts-2.0.dtd">
<struts>
<constant name="struts.i18n.reload" value="true" />
<package name="member" extends="struts-default">
<action name="register" class="com.briup.run.web.action.RegisterAction" method="register">
<result name="right" type="redirect">/member/Active.jsp</result>
<result name="fail">/Register.jsp</result>
</action>
<action name="nodify" class="com.briup.run.web.action.NodifyAction" method="nodify">
<result name="nodifyright" type="redirect">/member/Active.jsp</result>
<result name="passworderror" type="redirect">/member/Nodify.jsp</result>
</action>
<action name="login" class="com.briup.run.web.action.LoginAction" method="login">
<result name="loginerror" type="redirect">/Login.jsp</result>
<result name="loginright" type="redirect">/member/Active.jsp</result>
</action>
</package>
<package name="message" extends="struts-default">
</package>
</struts>
web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1">
<display-name>run</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
</web-app>