Rev 1250 | Details | Compare with Previous | 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.ActionErrors; |
||
5 | import org.apache.struts.action.ActionForm; |
||
6 | import org.apache.struts.action.ActionMapping; |
||
7 | |||
8 | public class BranchForm |
||
9 | extends ActionForm |
||
10 | { |
||
11 | protected String branch; |
||
12 | |||
13 | public String getBranch() |
||
14 | { |
||
15 | return branch; |
||
16 | } |
||
17 | |||
18 | public void setBranch(String branch) |
||
19 | { |
||
20 | this.branch = branch; |
||
21 | } |
||
22 | |||
23 | public ActionErrors validate(ActionMapping mapping, |
||
24 | HttpServletRequest request) |
||
25 | { |
||
26 | ActionErrors errors = new ActionErrors(); |
||
27 | |||
28 | return errors; |
||
29 | } |
||
30 | } |