aspose file tools*
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 Java 8 in Action this week in the Java 8 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
 
Similar Threads
format and formatKey
Error when using struts 2.0.11 jar
JSP Parse error - no setter method found
Struts2 CannotRenderException
Struts tag