Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Servlet Exception:

Status
Not open for further replies.

ahsin

Programmer
Oct 1, 2003
8
US
hi
I am new to struts. Have to develop an application in 1 day...
but i get an error...
javax.servlet.jsp.JspException: No getter method available for property server for bean under name org.apache.struts.taglib.html.BEAN
org.apache.struts.taglib.html.SelectTag.calculateMatchValues(SelectTag.java:327)
org.apache.struts.taglib.html.SelectTag.doStartTag(SelectTag.java:244)
org.apache.jsp.TestLogin_jsp._jspx_meth_html_select_0(TestLogin_jsp.java:191)
org.apache.jsp.TestLogin_jsp._jspx_meth_html_form_0(TestLogin_jsp.java:136)
org.apache.jsp.TestLogin_jsp._jspService(TestLogin_jsp.java:87)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

Is this some internal error? or is it some problem with my code. All the mappings seem to be correct.
Thank u
 
Hi,

In the ActionForm you need to define all the set and get methods for all the html form elements that you have defined.

In you ActionFrom add set and get methods for calculateMatchValues.

Cheers,
Venu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top