• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

displaytag problem

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using displaytag 1.1.1 with struts and encountered the following problem:

/tests/display.jsp(4): Error in using tag library uri='http://displaytag.sf.net' prefix='display': The Tag class 'org.displaytag.tags.TableTag' has no setter method corresponding to TLD declared attribute 'varTotals', (JSP 1.1 spec, 5.4.1)
probably occurred due to an error in /tests/display.jsp line 4:

<%@ taglib prefix="display" uri="http://displaytag.sf.net" %>

I placed the displaytag-1.1.1.jar file to the WEB-INF/lib folder.

Any idea how I could fix this problem?

EDIT: this is under WebLogic 8.1 SP2.

Thanks.
[ August 31, 2007: Message edited by: Wilson Gordon ]
 
Wilson Gordon
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like it's because Weblogic 8.1 doesn't have JSP 1.2 container...
 
Wilson Gordon
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For displaytag, anyone know how I could surround the generated table with a <div> to make the codes look something like this:

[pagination codes]
<div id="" class="">
<table>
........
</table>
</div>
[pagination codes]

Thanks in advance.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic