| Author |
Struts reset() not being called...
|
Andy Metcalfe
Greenhorn
Joined: Nov 23, 2004
Posts: 5
|
|
I'm having a problem where the reset(ActionMapping mapping,javax.servlet.ServletRequest request) method on my ActionForm is not being called. This is frustrating my attempts to use html:checkboxes with session-scope forms. Here's my form: and here's the corresponding entry from struts-config.xml I know the method isn't being called because I don't see the System.out printing. Any thoughts? Thanks, _Am [ November 23, 2004: Message edited by: Andy Metcalfe ] [ November 23, 2004: Message edited by: Andy Metcalfe ]
|
 |
Anand Gondhiya
Ranch Hand
Joined: Feb 24, 2004
Posts: 155
|
|
try using this form of reset ! reset(ActionMapping mapping, HttpServletRequest request). i.e change your "request" objects's type
|
 |
Andy Metcalfe
Greenhorn
Joined: Nov 23, 2004
Posts: 5
|
|
Ding! Thanks, that was it... _Am
|
 |
 |
|
|
subject: Struts reset() not being called...
|
|
|