• 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

no getter method for property

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm working on this jsp form page.
I removed some of the fields and making sure i removed all their corresponding getter and setter methods. I'm sure i removed all the getter and setter methods for those fields but when i try it on websphere's web browser, i get this error...


[2/6/06 17:24:37:844 CST] 69fa4d30 WebGroup I SRVE0180I: [Crebav2] [/Crebav2] [Servlet.LOG]: /BuyerInqPage.jsp: init
[2/6/06 17:24:37:859 CST] 69fa4d30 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[2/6/06 17:24:37:875 CST] 69fa4d30 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
[2/6/06 17:24:37:875 CST] 69fa4d30 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[2/6/06 17:24:37:906 CST] 69fa4d30 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[2/6/06 17:24:37:906 CST] 69fa4d30 PropertyMessa I org.apache.struts.util.PropertyMessageResources Initializing, config='org.apache.struts.taglib.html.LocalStrings', returnNull=true
[2/6/06 17:24:38:344 CST] 69fa4d30 WebGroup E SRVE0026E: [Servlet Error]-[No getter method for property name1 of bean inquireForm]: javax.servlet.jsp.JspException: No getter method for property name1 of bean inquireForm
at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:968)

Help anybody?
 
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think that you also remove the getters and setters of some existing fields also.
Please check that all existing field especially the one for which you are getting the error is exists or not .
And if exist , then please send the code of JSP and FormBean so that picture get more clear.
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello "jaypster"-

Welcome to JavaRanch.

On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it - please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.

Enyoy your time here.
 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi jaypster,
I would like to have a look at your form class and action class and aw well as the jsp page which calls these classes. Initial guess on this error would be that if you are trying to set some values in the form class from the action class then you need to set them carefully. If that is not the case then paste your files for review so that the picture becomes clear. Last but not least try to rebuild the project by closing and opening the server that you are using.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic