Actionclass ----------- System.out.println(searchForm.get_button_Clicked()); The above statement displays "null";
I have defined button_clicked in bean class. I thought when i click ADD button, button_clicked will be set to key of "button.add" and i can check accordingly in action class. But it displays null. Please let me know what needs to be corrected. OR Should i use 2 HTML TAG BUTTON's here instead of 2 HTML TAG SUBMIT's?