• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

No getter method for property name1 of bean pagesArrayList

 
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi List[],

Please help me to slove my this problem and i am using Struts 1.1

i am getting following error



.......


My ActionForm

My Action Class



Jsp File


 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In the future can you please use code tags. It makes it easier to read.

I edited your post above this time for you so it gets all of the pretty formatting.

To add code tags, select your code and click the Code button in the editor's toolbar.

Eric
 
Ranch Hand
Posts: 357
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, you are using an attribute of type "pagesArrayList" and you are trying to get its property of type "name1" so to resolve your problem you have to either check if the class of the attribute pagesArrayList contains a getName1() method, or may be you have mistaken the attribute "pagesArrayList" and you wanted to use something else id that i don't know what would be ...
 
pankaj semwal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am not understanding what you saying .
 
pankaj semwal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I change in Action form and then used the hashmap .And then iterate the map values in the jsp
page.But still its not working .
Can any body tell me how to slove this problem.

My Action class



My Jsp Page

 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic