I wanted to have two submit button perform different activities within My HTML Page so I used dispatch Action But I had a critical Requirment that when First Button is Clicked Validate Method Of ActionForm Should Be Called While when Second Button is Clicked Validate method should not be called suggested me any solutions
Thanks in Advance
Let the Knowledge Flow Direction Does'nt Matters
Joined: Mar 17, 2006
You could set the validate parameter, within the action tag in the struts-config.xml, to false; and then explicitly call the validate method, of the respective action form from within the action class itself. This should solve ur problem.
"What's in a name? That which we call a rose by any other name would smell just as sweet."<br />(William Shakespeare, Romeo and Juliet, Act II, Scene II)