I have a
jsp, have several text field and other drop down list, and Prepopulated information from database
when I enter something into the text field, the page seems submit itself and all the value that **Pre-populated** is **LOST**.
Many thanks if someone can giving me some suggestion or i did something wrong
[CODE]
In jsp
<html:text property="contactName" />
In form bean
private
String contactName;
public void setReceiptDate(String contactName)
{
this.contactName = contactName;
}
public String getContactName()
{
return contactName;
}
protected void doReset(ActionMapping mapping, HttpServletRequest request)
{
this.contactName= "";
}