Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1250 | dev | 1 | package ak.photoalbum.webapp; |
2 | |||
3 | import javax.servlet.http.HttpServletRequest; |
||
4 | import org.apache.struts.action.ActionError; |
||
5 | import org.apache.struts.action.ActionErrors; |
||
6 | import org.apache.struts.action.ActionForm; |
||
7 | import org.apache.struts.action.ActionMapping; |
||
8 | |||
9 | public class BranchForm |
||
10 | extends ActionForm |
||
11 | { |
||
12 | protected String branch; |
||
13 | |||
14 | public String getBranch() |
||
15 | { |
||
16 | return branch; |
||
17 | } |
||
18 | |||
19 | public void setBranch(String branch) |
||
20 | { |
||
21 | this.branch = branch; |
||
22 | } |
||
23 | |||
24 | public ActionErrors validate(ActionMapping mapping, |
||
25 | HttpServletRequest request) |
||
26 | { |
||
27 | ActionErrors errors = new ActionErrors(); |
||
28 | |||
29 | return errors; |
||
30 | } |
||
31 | } |