File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: No getter method available for property strKey for bean under name data
 
Similar Threads
multiple forms data within sigle JSP page
Struts Buttons
New to struts, please help
Error: No getter method for property
populate data form different DyanactionForms in single JSP