Rev 18 | Rev 20 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 18 | Rev 19 | ||
|---|---|---|---|
| Line 4... | Line 4... | ||
| 4 | 4 | ||
| 5 | <struts>
|
5 | <struts>
|
| 6 | 6 | ||
| 7 | <package name="default" extends="hibernate-default">
|
7 | <package name="default" extends="hibernate-default">
|
| 8 | 8 | ||
| 9 | <action name="LoginDo" class="ch.ffhs.webE.action.LoginAction">
|
9 | <action name="LoginDo" method="verifyUser" class="ch.ffhs.webE.action.LoginAction">
|
| - | 10 | <result name="admin" type="redirect">/admin_index.jsp</result> |
|
| 10 | <result name="success" type="redirect">/user_index.jsp</result> |
11 | <result name="user" type="redirect">/user_index.jsp</result> |
| 11 | <result name="failed" type="redirect">/index.jsp</result> |
12 | <result name="failed" type="redirect">/index.jsp</result> |
| 12 | </action>
|
13 | </action>
|
| 13 | 14 | ||
| 14 | <action name="addUser" method="add" class="ch.ffhs.webE.web.UserAction">
|
- | |
| 15 | <result name="success" type="redirect">listUser</result> |
- | |
| 16 | </action>
|
- | |
| 17 | <action name="listUser" method="list" class="ch.ffhs.webE.web.UserAction">
|
- | |
| 18 | <result name="success">/register.jsp</result> |
- | |
| 19 | </action>
|
- | |
| 20 | </package>
|
15 | </package>
|
| 21 | </struts>
|
16 | </struts>
|
| 22 | 17 | ||