• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cant find getter method on formbean

 
O. Ziggy
Ranch Hand
Posts: 430
Android Debian VI Editor
  • Mark post as helpful
  • send pies
  • 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 Debian VI Editor
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic