when i call this java script, i m getting the alert msg, but the button which i m firing in the next line is not getting fired.
Can someone explain me why ? (In my observation, it seems like the entire form is getting resubmitted)
Inside the action method of that command button, i m intentionally creating a null pointer exception, but i m not getting that error, since the method is not called.
Victor Hugo M Machado wrote:see the source code of your JSP.. see the HTML generated..
hidden components not are rendered
I hope understood your problem
No Dude.... If you notice clearly that command button is currently not hidden... And also they are generated in the HTML of my page..... Seems to be like some other servlet is getting called.... Can you know abt how to stop all other calls (to servlets) while firing this button....?
When a dream is ending because to come true - OCPJP 6,7. OCE JPA EE6. MCTS