Initially I juat want a simple validation. So when user clicks on serach button with out entering anything on the page then I will go back to same page with message displayed at the top. But some how it is not working for me. Following is the flow.
display.action - display.jsp (displays dynamic text boxes and dropdowns)
when user clicks on serach button - showquery.action