jQuery in Action, 3rd edition
The moose likes Other Open Source Projects and the fly likes Implementing Paging Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Implementing Paging" Watch "Implementing Paging" New topic

Implementing Paging

annu joseph

Joined: Nov 25, 2008
Posts: 16
HI all,
i want to implement paging for my web application. Iam using Struts/jsp.
I read somewhere that for doin so we need to include pager-taglib.tld in our web- inf folder and include the following code:
<%@ taglib uri="/WEB-INF/pager-taglib.tld" prefix="pg" %> in our jsp page.
I have included the .tld file in WEB_INF folder, but the moment i add <%@ taglib uri="/WEB-INF/pager-taglib.tld" prefix="pg" %>
in my jsp page , it shows an error: failed to load or instantiate TagExtraInfoclass: com.jsptags.navigation.pager.PagerTagExtraInfo

Whats the reason ?please help
Keerthi Pandey

Joined: Feb 08, 2009
Posts: 7
I think there is a colision of jar libraries and some problem in the jar files named servlet.jar.

I suggest you do the following:
Make a clean install of Jboss and deploy struts-blank.war file from the Struts zip file. Do not copy any jar files to the default/lib directory. If you'll be able to run the app, then try to deploy the application you're trying to migrate.
annu joseph

Joined: Nov 25, 2008
Posts: 16
no iam not migrating any application...
The issue is solved by adding the corresponding jar file..But now it throws a servlet exception like
javax.servlet.jsp.JspException: ServletException in '/Contents/Devices.jsp': com.jsptags.navigation.pager.PagerTagExtraInfo

Devices.jsp is my jsp page
please help
Seetharaman Venkatasamy
Ranch Hand

Joined: Jan 28, 2008
Posts: 5575

Sounds like the jar is not loaded properly
annu joseph

Joined: Nov 25, 2008
Posts: 16
hi thanks the issue is solved by doing a clean build. Can someone tell me how to implement paging using pager taglib. This is urgent. Please show it with examples
Thanks in advance
I agree. Here's the link: http://aspose.com/file-tools
subject: Implementing Paging
It's not a secret anymore!