Rev 19 | Go to most recent revision | Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line | 
|---|---|---|---|
| 18 | moos | 1 | <!DOCTYPE struts PUBLIC | 
| 2 | "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" | ||
| 3 | "http://struts.apache.org/dtds/struts-2.0.dtd"> | ||
| 4 | |||
| 5 | <struts> | ||
| 6 | |||
| 7 |         <package name="default" extends="hibernate-default"> | ||
| 8 | |||
| 9 |                 <action name="LoginDo" class="ch.ffhs.webE.action.LoginAction"> | ||
| 10 | <result name="success" type="redirect">/user_index.jsp</result> | ||
| 11 | <result name="failed" type="redirect">/index.jsp</result> | ||
| 12 |                 </action> | ||
| 13 | |||
| 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> | ||
| 21 | </struts> |