• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts reset() not being called...

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try using this form of reset !

reset(ActionMapping mapping, HttpServletRequest request). i.e change your "request" objects's type
 
Andy Metcalfe
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ding! Thanks, that was it...

_Am
 
reply
    Bookmark Topic Watch Topic
  • New Topic