Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

tell me... why this error occurs..

 
Div Raj
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • 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


...
 
Maneessh saxena
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thank you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic