aspose file tools*
The moose likes Struts and the fly likes displaytag problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "displaytag problem" Watch "displaytag problem" New topic
Author

displaytag problem

Wilson Gordon
Ranch Hand

Joined: Apr 07, 2007
Posts: 89
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

Joined: Apr 07, 2007
Posts: 89
Looks like it's because Weblogic 8.1 doesn't have JSP 1.2 container...
Wilson Gordon
Ranch Hand

Joined: Apr 07, 2007
Posts: 89
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: displaytag problem
 
Similar Threads
getting error with diplay tag since 3 days
DisplayTag exporting to PDF.. shows "code" ?
taglib declaration
Display tag problem
DisplayTag exporting to PDF.. shows "code" ?