This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 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
 
It's not a secret anymore!