Rev 18 | Rev 22 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 18 | Rev 20 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | package ch.ffhs.webE.web; |
1 | package ch.ffhs.webE.action; |
2 | 2 | ||
3 | import java.util.ArrayList; |
3 | import java.util.ArrayList; |
4 | import java.util.List; |
4 | import java.util.List; |
5 | 5 | ||
6 | import com.opensymphony.xwork2.ActionSupport; |
6 | import com.opensymphony.xwork2.ActionSupport; |
Line 27... | Line 27... | ||
27 | {
|
27 | {
|
28 | userDAO.saveUser(user); |
28 | userDAO.saveUser(user); |
29 | return SUCCESS; |
29 | return SUCCESS; |
30 | }
|
30 | }
|
31 | 31 | ||
- | 32 | public String addForm() { |
|
- | 33 | return SUCCESS; |
|
- | 34 | }
|
|
- | 35 | ||
32 | public String list() |
36 | public String list() |
33 | {
|
37 | {
|
34 | userList = userDAO.listUser(); |
38 | userList = userDAO.listUser(); |
35 | return SUCCESS; |
39 | return SUCCESS; |
36 | }
|
40 | }
|