Does this work?  According to the <html:checkbox> tag documentation, Struts
passes the string "on" when a checkbox is checked, and reset with "off."
This is what I am doing and it has been working flawlessly.

According to the Struts API, reset() gets called just before your
mapping.findForward() in your action class is called.

Mark

-----Original Message-----
From: Struts Newsgroup [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 03, 2002 9:40 AM

Another question is when and where does the reset get called?

> In reset you would:
>
> public void reset( ActionMapping mapping,
>                     javax.servlet.http.HttpServletRequest request )
> {
> if( request.getParameter("fubar") == null )
> this.setFubar = false;
> }

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to