aspose file tools*
The moose likes Struts and the fly likes No getter method available for property strKey for bean under name data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "No getter method available for property strKey for bean under name data" Watch "No getter method available for property strKey for bean under name data" New topic
Author

No getter method available for property strKey for bean under name data

bhaveshs shah
Greenhorn

Joined: Dec 21, 2006
Posts: 10
Hi Friends,

I am facing isuues with Struts,

error:-Servlet.service() for servlet jsp threw exception javax.servlet.jsp.JspException: No getter method available for property strKey for bean under name data

Struts-config
<action
path="/client"
type="com.ss.mitstifter.actions.ClientAction"
name="clientForm"
parameter="method"
scope="request"
input="/web/Clients.jsp">
<forward name="FWD_CLIENTS" path="/web/Clients.jsp" />
</action>

Jsp entry
<logic:notEmpty name="clientForm"
property="alClientList">
<bean:define id="data"
name="clientForm"
property="alClientList"/>
<htmlptions collection="data"
property="strKey"
labelProperty="strKey"/>
</logic:notEmpty>

I am getting above error , I have changed form bean, i have checked the getstrKey() at clientForm then too issue remains the same .

please suggest ASAP as i have spend more then 2 days.

Regards
Bhavesh Shah
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No getter method available for property strKey for bean under name data
 
Similar Threads
multiple forms data within sigle JSP page
Error: No getter method for property
New to struts, please help
Struts Buttons
populate data form different DyanactionForms in single JSP