• Post Reply Bookmark Topic Watch Topic
  • New Topic

using display tag in struts 2.0  RSS feed

 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!