Skip to content

Commit

Permalink
Update struts.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rong Huang authored Mar 6, 2017
1 parent 0d22aac commit 62d4e40
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions liuxin/src/com/coderising/litestruts/struts.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<struts>
<action name="login" class="com.coderising.action.LoginAction">
<action name="login" class="com.coderising.litestruts.LoginAction">
<result name="success">/jsp/homepage.jsp</result>
<result name="fail">/jsp/showLogin.jsp</result>
</action>
<action name="logout" class="com.coderising.action.LogoutAction">
<result name= "success">/jsp/welcome.jsp</result>
<result name= "error">/jsp/error.jsp</result>
<action name="logout" class="com.coderising.litestruts.LogoutAction">
<result name="success">/jsp/welcome.jsp</result>
<result name="error">/jsp/error.jsp</result>
</action>
</struts>

0 comments on commit 62d4e40

Please sign in to comment.