• 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

tell me... why this error occurs..

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

My Struts action name is JobUPDAction.
I am calling a member method createJobUPD() of this Action class,in jsp.
Inside this method I wrote this code...

List<LabelValueBean> shops = new ArrayList<LabelValueBean>();
shops = jobupdmgr.getfunnelShops();
request.getSession().setAttribute("funnelshops",shops);
....

In action servlet I wrote the code like ...
<bean name="/CreatejobUPDAction"
class="com.videocon.action.admin.JobUPDAction" singleton="false">
<property name="jobupdmgr">
<ref bean="jobupdmgr" />
</property>
</bean>

"jobupdmgr" is injector of JobUPDManager.

When I am trying to display my jsp page , I am not getting the proper display.
But In log file I got the error given below..

please tell me why this error occurs?

2008-11-06 15:45:15,734 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/CRTRS].[action]] Servlet.service() for servlet action threw exception
javax.servlet.jsp.JspException: ServletException in '/WEB-INF/jsp/GTBUPD/CreatejobUPD.jsp': No getter method available for property value for bean under name funnelshops


...
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have getters for properties in your bean class ? if no then write a getter method and retry your code.
 
Div Raj
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you.
 
reply
    Bookmark Topic Watch Topic
  • New Topic