1 16 17 package org.apache.webapp.admin.host; 18 19 import javax.servlet.http.HttpServletRequest ; 20 import org.apache.struts.action.ActionForm; 21 import org.apache.struts.action.ActionMapping; 22 23 24 30 31 public class AliasesForm extends ActionForm { 32 33 34 36 37 40 private String aliases[] = new String [0]; 41 42 public String [] getAliases() { 43 return (this.aliases); 44 } 45 46 public void setAliases(String aliases[]) { 47 this.aliases = aliases; 48 } 49 50 53 private String hostName = null; 54 55 58 public String getHostName() { 59 60 return this.hostName; 61 62 } 63 64 67 public void setHostName(String hostName) { 68 69 this.hostName = hostName; 70 71 } 72 73 75 76 82 public void reset(ActionMapping mapping, HttpServletRequest request) { 83 84 this.aliases = new String [0]; 85 this.hostName = null; 86 } 87 88 } 89 | Popular Tags |