brynFlew 15 Junior Poster in Training

is it possible to use a jsp page with a java bean to get values dynamically.
ie: the name is incremented each time but i need the gets and sets for each property to get their values and set them on the bean, can i do this dynamically? Thanks

<td><p class="dataCell"><input type="text" id="station" name="station" property="station" value="<% form.getStation(); %>" autofocus="true" style="width:100%;border-style:none;"/></p></td>

<td><p class="dataCell"><input type="text" id="station01" name="station01" property="station01" value="<% form.getStation(); %>" autofocus="true" style="width:100%;border-style:none;"/></p></td>

<td><p class="dataCell"><input type="text" id="station02" name="station02" property="station02" value="<% form.getStation(); %>" autofocus="true" style="width:100%;border-style:none;"/></p></td>


	/**
	 * Gets the station value.
	 * @return station, return station
	 */
	public String getStation() {
		return station;
	}

	/**
	 * Sets the station value.
	 */
	public void setStation(String station) {
		this.station = station.trim();
	}

	/**
	 * Gets the station value.
	 * @return station, return station
	 */
	public String getStation01() {
		return station;
	}

	/**
	 * Sets the station value.
	 */
	public void setStation01(String station) {
		this.station = station.trim();
	}