Hi, A new problem: I have a Clear button which suppose to clear the input fields. However, when I use bean:write to display the current value on the page, and disable reset() in the ActionForm, after pressing Clear button, the value in Form (session scope) is still displayed on the page.
is it expected ? I thought Clear does clear whatever on the page (form) and values in the ActionForm are not touched. thanks ! li xin JSP code below: ------------------------------------------------ <html:form action="/admin/OrgAction"> <table> <th Basic Information</th> <tr> <td>Name*:</td> <td><input type=text name=name size=20 value='<bean:write name="createOrgForm" property="name"/>'/></td> </tr> <tr> <td>Description :td> <td><input type=text name=description size=20 value='<bean:write name="createOrgForm" property="description"/>'/></td> </tr> <tr> <td></td> <td align=left><html:submit><bean:message key="button.update"/></html:submit></td> <td align=right><html:reset><bean:message key="button.clear"/></html:reset></td> </tr> </table> _______________________________ Do you Yahoo!? Win 1 of 4,000 free domain names from Yahoo! Enter now. http://promotions.yahoo.com/goldrush --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]