Hi,
I have a text field in my jsp and want to use struts html tags, I am not able to define it as below.. Is there a workaround to this as to how to print the dto value in jsp?
<html:text property="${myForm.dto.id}" />
myForm is the formbean. I have the below defined in my formbean:
private AddNewRecordDTO dto;
public AddNewRecordDTO getDto() {
return dto;
}
public void setDto(AddNewRecordDTO dto) {
this.dto = dto;
}
And my AddNewRecordDTO has the following defined:
private String id;
public String getId() {
return id;
}
public void setId(String Id) {
this.id=Id;
}
Thanks a lot. appreciate any help.
I have a text field in my jsp and want to use struts html tags, I am not able to define it as below.. Is there a workaround to this as to how to print the dto value in jsp?
<html:text property="${myForm.dto.id}" />
myForm is the formbean. I have the below defined in my formbean:
private AddNewRecordDTO dto;
public AddNewRecordDTO getDto() {
return dto;
}
public void setDto(AddNewRecordDTO dto) {
this.dto = dto;
}
And my AddNewRecordDTO has the following defined:
private String id;
public String getId() {
return id;
}
public void setId(String Id) {
this.id=Id;
}
Thanks a lot. appreciate any help.