Two Laptop Bag*
The moose likes Struts and the fly likes tell me... why this error occurs.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tell me... why this error occurs.." Watch "tell me... why this error occurs.." New topic
Author

tell me... why this error occurs..

Div Raj
Greenhorn

Joined: Nov 04, 2008
Posts: 22
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

Joined: Oct 03, 2006
Posts: 125
Do you have getters for properties in your bean class ? if no then write a getter method and retry your code.


SCJP 1.4, SCWCD 1.5
Div Raj
Greenhorn

Joined: Nov 04, 2008
Posts: 22
Thank you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tell me... why this error occurs..
 
Similar Threads
html:optionsCollection from a DynaActionForm
Why sevlet.service() exception
populating list box
display and posting of sets of controls
Problem using html:radio