Try this: <pager url="/ABCD.do">
</pager> I'm assuming you don't have it set and the default behavior populates that attribute value with request.getRequestURI(). The url attribute value is used by the other tags in the tld to generate the appropriate url. robert > -----Original Message----- > From: Denis Wang [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 08, 2003 4:24 PM > To: Struts Users Mailing List > Subject: <logic:iterate> and Pager taglib from jsptags.com --Help! > > > Hello, All, > I use Struts to retrieve a long list of data. It works perfectly. I want > to enhance it with pager functionality and got the pager taglib from > jsptags.com. The installation is a success. Then I modified my > JSP page to > accomodate the new functionality. ( No touch on Action, Form, or DAO) > > The search result page http://ABCD.do successfully displays first > 10 items. > However, when I tried to navigate to other pages by clicking on the > automatic generated hyperlink of http://ABCD.jsp?pager.offset=1. > I will get > errors like "javax.servlet.jsp.JspException: Cannot retrieve mapping for > action ABCD". > > Does anybody have any ideas? > Thanks a lot. > Denis > > > p.s. Excerpt code from the modified JSP page: > <pg:pages> > <a href="<%= pageUrl %>"><%= pageNumber %></a> > </pg:pages> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

