Hi guys,
I know this has been asked before... but nothing seems to be working for me. I have a
ActionForm in which I reset all my fields to null.
Can someone please not only correct me on what I'm doing wrong but also explain why?
I've tried both these of these:
----------------------
if ( mapping.getAttribute() != null ) {
if ( "request".equals( mapping.getScope() ) ) request.removeAttribute(
mapping.getAttribute() );
else session.removeAttribute( mapping.getAttribute() );
}
----------------------
form.reset( mapping, request );
----------------------
Here is my action tag in case I need to change something here:
<action
path="/path"
type="class"
name="formname
scope="session"
input="jsp page">
<forward name="success" redirect="false" path="jsp page" />
</action>
Roy.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]