• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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.
 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic