Hi, There:

I try to using HTML Redio tags, and keeping getting following error:

javax.servlet.jsp.JspException: No getter method available for property
actionType for bean under name org.apache.struts.taglib.html.BEAN
 at org.apache.struts.taglib.html.RadioTag.doStartTag(RadioTag.java:197)

My simple JSP page is as following:

<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/apt.tld" prefix="apt" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<app:checkLogon/>
<jsp:useBean id="user" scope="session" type="com.ingenuity.app.apt.User"/>

<html:html>
<head>
<title><bean:message key="paymentSearch.title"/></title>
<html:base/>
</head>

<body bgcolor="white">



<html:form action="/paymentSearch">

 <h3><bean:message key="paymentSearch.heading"/>
 <jsp:getProperty name="user" property="username"/></h3>

 <tr>
     <th align="right">Single Select Allowed:</th>
     <td align="left">
  <html:radio property="actionType" value="displayStm">
   <bean:message key="paymentSearch.searchType.displayStm"/>
  </html:radio>
  <html:radio property="actionType" value="reinsertArticle">
   <bean:message key="paymentSearch.searchType.reinsertArticle"/>
  </html:radio>
  <html:radio property="actionType" value="interestCountry">
   <bean:message key="paymentSearch.searchType.interestCountry"/>
  </html:radio>
   </td>
   </tr>

 <tr>
     <td align="right">
        <html:submit>Save</html:submit>
     </td>
     <td align="left">
        <html:reset>Reset</html:reset>
        <html:cancel>Cancel</html:cancel>
     </td>
   </tr>

 <ul>
<li><html:link page="/logoff.do"><bean:message
key="paymentSearch.logoff"/></html:link></li>
 </ul>

</html:form>

</body>

</html:html>


I don't really understand what is this getter method mean, and it's really
frastrated. Any help will be highly appreciated.

Regard

Frank Ling

Reply via email to