Tuesday, November 29, 2011

I want to place two buttons one for save and one for delete.i am using DispatchAction as controller,how can i find which button i am pressing and how to diffrentiate?

We can use actioncommand method that will give use caption of button and by comparing it to whatever string we want we can verified.
Category:JSP Interview Questions

No comments:

Post a Comment