Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using display tag in struts 2.0

 
Sekhar Chand
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

Sekhar
 
Wes Wannemacher
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic