Hi all,
I have a
JSP page where there are multiple options for search, i.e. "search by Application id", "search by Applicant name" etc. I have used
struts EventDispatchAction to catch the event generated by a particular submit button. This is working fine. Below is the snap of the struts-config file for this:
<action name="SearchApplicationForm" path="/searchApplication" scope="session" parameter="idSubmit,nameSubmit" type="SearchApplicationAction" validate="false">
<forward name="idForward" path="searchApplication"/>
<forward name="nameForward" path="searchApplication"/>
</action>
Now if I am facing problem in paginating the search results, because I am not able to generate event when the page numbers are clicked. They are hyperlinks. Below is the code used to generate the page numbers:
<c:forEach items="${pagelist}" var="emp">
<td><a href="#?page=${emp}">${emp}</a></td>
</c:forEach>
I am not sure what to put in place of # to generate event for EventDispatchAction.
Any help in this regard will be very helpful. Thanks