1 24 28 package org.jresearch.gossip.forms; 29 30 import javax.servlet.http.HttpServletRequest ; 31 32 import org.apache.struts.action.ActionMapping; 33 import org.apache.struts.validator.ValidatorForm; 34 35 39 public class SubscribeForm extends ValidatorForm { 40 private String tid = "-1"; 41 42 private String email; 43 44 52 public void reset(ActionMapping mapping, HttpServletRequest request) { 53 this.tid = "-1"; 54 this.email = null; 55 } 56 57 60 public String getEmail() { 61 return email; 62 } 63 64 68 public void setEmail(String email) { 69 this.email = email; 70 } 71 72 75 public String getTid() { 76 return tid; 77 } 78 79 83 public void setTid(String tid) { 84 this.tid = tid; 85 } 86 } 87 | Popular Tags |