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
posted
0
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
posted
0
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
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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.