Rev 962 | Rev 1250 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
936 | 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 PathForm |
||
10 | extends ActionForm |
||
11 | { |
||
1249 | dev | 12 | protected String branch; |
936 | dev | 13 | protected String path; |
14 | |||
1249 | dev | 15 | public String getBranch() |
16 | { |
||
17 | return branch; |
||
18 | } |
||
19 | |||
20 | public void setBranch(String branch) |
||
21 | { |
||
22 | this.branch = branch; |
||
23 | } |
||
24 | |||
936 | dev | 25 | public String getPath() |
26 | { |
||
27 | return path; |
||
28 | } |
||
29 | |||
30 | public void setPath(String path) |
||
31 | { |
||
32 | this.path = path; |
||
33 | } |
||
34 | |||
35 | public ActionErrors validate(ActionMapping mapping, |
||
36 | HttpServletRequest request) |
||
37 | { |
||
38 | ActionErrors errors = new ActionErrors(); |
||
39 | |||
40 | return errors; |
||
41 | } |
||
42 | } |