• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cant find getter method on formbean

 
Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,

I am new here hope someone can help.

I have written a form using jsp, struts 1.2 but i seem to be having some problems linking the form bean with the actual form. i get the following error.



i know this is usually caused by spelling errors i have spent the last two hours looking for the error but cant find it. Hopefully someone here can help

my jsp page looks like something like this



and the form bean looks something like this



and the servlet looks somthing like this



i didnt display most of the code but only the necessary bits. Hopefully someone can see something im not seeing..
 
O. Ziggy
Ranch Hand
Posts: 430
Android VI Editor Debian
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I seem to have fixed the problem by simple renaming the properties of the objects in the jsp form.

How come this seem to have worked even though the name in the jsp starts with a lower case whereby the name in the actual formbean starts with an uppercase letter?
 
reply
    Bookmark Topic Watch Topic
  • New Topic