This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Implementing Paging" Watch "Implementing Paging" New topic
Author

Implementing Paging

annu joseph
Greenhorn

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
Greenhorn

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
Greenhorn

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
Greenhorn

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
 
Don't get me started about those stupid light bulbs.
 
subject: Implementing Paging
 
Similar Threads
Problem in using taglib in NetBeans
Exmulator mock exam question 36
taglib doubt
urgent help in jsp taglib
Internal Servlet Error with Custom tag