struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "mail" <rea-fam...@attbi.com>
Subject How to call an array setter
Date Fri, 27 Sep 2002 05:49:26 GMT
I must be brain-dead right now.  Can anyone tell me how to call an array
setter method?

ex.

ResponseProcessForm:

	private String[] msgCode = null;

	public void setMsgCode(String[] msgCode) {
		this.msgCode = msgCode;
	}

	public String[] getMsgCode() {
		return msgCode;
	}

ResponseProcessAction:

	/*
	 *This does not work, but not sure how to call the method??
	 */
	responseProcessForm.setMsgCode(gridDeterminations.getMessageCode());



--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message