Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

WSAD 5.1 and Struts Logic iterate

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are using Struts bean tag to fetch collection of values from a Action form and displaying these values in a JSP through logic:iterate tag. When we try to render the JSP page, it gives "No getter method found for" values (collection type) as a servlet exception. This problem comes only in case of for collection of values. We are using WSAD 5.1.1.
The real weird part of the problems is that when we use WSAD 5.1.0, this problem doesn't come at all. Everything works fine perfectly.
Any inside view will be appreciated..
regards,
manish
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by manish kkum:
We are using Struts bean tag to fetch collection of values from a Action form and displaying these values in a JSP through logic:iterate tag. When we try to render the JSP page, it gives "No getter method found for" values (collection type) as a servlet exception. This problem comes only in case of for collection of values. We are using WSAD 5.1.1.
The real weird part of the problems is that when we use WSAD 5.1.0, this problem doesn't come at all. Everything works fine perfectly.
Any inside view will be appreciated..
regards,
manish


Check the getter method for the attribute that give that message. Even if the attribute actually exist but that message still display just because when Struts call the getter on the attribute an Exception is thrown from within the getter.
 
manish kkum
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that is another part of the weird problem- We are not getting any exception except servlet exception in view source of HTML page rendered by JSP saying that No getter method found. Before using logic:iterate tag, we are using Struts Bean tag.
regards,
manish
 
    Bookmark Topic Watch Topic
  • New Topic