• 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

Bean problem

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a Bean class with a property (say "myPack.account")


I have a JSP page with a TextField (say form.jsp with action="process.jsp")


then in process.jsp page, i have


Tomcat giving an exception ::
Cannot find any information on property 'sACC_NO' in a bean of type myPack.account

is it because of the naming convention i have used?
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, getProperty will look for either getXxx or isXXX methods.


By the way: your hunch was good.
Wouldn't it have been quicker to try coding to convention to see if that fixed the problem than to write to a forum and wait for an answer?
[ February 24, 2006: Message edited by: Ben Souther ]
 
Oswald King
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Wouldn't it have been quicker to try coding to convention to see if that fixed the problem than to write to a forum and wait for an answer?



Of course.
well, i write the code that way just to see if it gives any problem

Yes, getProperty will look for either getXxx or isXXX methods


thanks for it.
 
Could you hold this puppy for a sec? I need to adjust this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic