I have a jsp a formbean and an action class.
My formbean has a value object and getter setter
methods for that.
here is my forbean
public class ServiceSelectionForm extends
ActionForm {
private AddressVO addressVO;
public AddressVO getAddressVO() {
return addressVO;
}
public void setAddressVO(AddressVO addressVO) {
this.addressVO = addressVO;
}
}
This is AddressVO
public class AddressVO {
private String state;
public String getState() {
return state;
}
public void setState(String state) {
this.state = state;
}
}
This is my jsp
<html:form action="serviceSelection.do">
<html:text property="addressVO.state"/>
<html:submit property="NEWSEARCH" value="Submit"/>
</html:form>
I want input textfield from jsp to represent
porperty state of AddressVO.
I mean when the form is submitted I want property
state from AddressVO to get populated with the value
of the textfiled.How can I acheive this.
or How can I represent nested bean porperties in a
jsp form.
thanks®ards
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]