On one JSP page, I have a very long list of items. So I want a "search" button (and a search text field of course) to filter information, when user hits this button the page will be refreshed and display the filter item list. When user hits the "submit" button, it should directly go to next functional page without doing any further "search".
But it seems a FORM can only handle one button, how do I accomplish this two tasks on one JSP page using struts ?
A form can have multiple buttons. There is more than one way to handle multiple buttons. One is to check in the Action class which button was selected (and there are multiple tricks for determining this). Another way is to use DispatchActions.
As Jason said, there are plenty of resources on that topic here to search through. I hope you can use key words from my post to refine your search. If you have trouble let us know.