• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Implementing Paging

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like the jar is not loaded properly
 
annu joseph
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 was born with webbed fish toes. This tiny ad is my only friend:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!