This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Struts and the fly likes using display tag in struts 2.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "using display tag in struts 2.0" Watch "using display tag in struts 2.0" New topic

using display tag in struts 2.0

Sekhar Chand
Ranch Hand

Joined: Apr 05, 2006
Posts: 73
Hi friends,

i am using displat tag in struts 2.0 in my project.
Even i am passing list object into the name attribute i am getting error.
The error is
-- attribute `name' in tag `display:table' has no corresponding set method in tag class `org.displaytag.tags.TableTag'.

Why it is giving error.
I have added .tld file and .jar file into the classpath.
Previuosly i have used this one, but i didnt find any difficulty.
Now its giving error..

Please tell me

Is there any problem with struts 2.0

Thanks in advance

Wes Wannemacher

Joined: Jul 07, 2007
Posts: 13
The app server is finding the tag's class, so my guess is that your jar file may be corrupt, or there is a silly misspelling or something somewhere. A second set of eyes can sometimes help find these types of errors. Could you paste more of the JSP code that is throwing the error?

Discussion of Java, Struts, Spring, Hibernate, etc. <a href="" target="_blank" rel="nofollow"></a>
It is sorta covered in the JavaRanch Style Guide.
subject: using display tag in struts 2.0
It's not a secret anymore!