In my struts application I have 10 buttons(html:link with images) in each screen.
In some scenerios 2 more buttons(NEXT,PREVIOUS) are visiable. In this situation how can this be done in struts ? Example if(........){ <html:link href="javascript:fnNEXT()"><img border="0" src="/images/next.jpg" width="52" height="32" alt="NEXT"></html:link> <html:link href="javascript:fnPREVIOUS()"><img border="0" src="/images/prev.jpg" width="52" height="32" alt="PREVIOUS"></html:link> } <a href="javascript:fnTest1()"><img border="0" src="/acs/images/test1.jpg" width="113" height="42"></a> . . . a href="javascript:fnTest10()"><img border="0" src="/acs/images/test10.jpg" width="113" height="42"></a>