This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "using display tag in struts 2.0" Watch "using display tag in struts 2.0" New topic
Author

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

Sekhar
Wes Wannemacher
Greenhorn

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="http://www.wantii.com" target="_blank" rel="nofollow">www.wantii.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using display tag in struts 2.0