Use lowercase for the property names in the form, and follow strict JavaBean conventions when naming the public methods for these.
-- Ted Husted, Husted dot Com, Fairport NY US -- Developing Java Web Applications with Struts -- Tel: +1 585 737-3463 -- Web: http://husted.com/about/services Steven Dahlin wrote: > > javax.servlet.jsp.JspException: No getter method for property UserLog of > bean org.apache.struts.taglib.html.BEAN > at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517) > at > org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188) > at org.apache.jsp.login$jsp._jspService(login$jsp.java:161) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107) > > I am getting this error when attempting to execute login.jsp. login.jsp is: > > <%@ taglib uri = "/html" prefix = "html" %> > <%@ taglib uri = "/logic" prefix = "logic" %> > > <html:form action = "/loginUser.do" > focus = "UserLog"> > <html:hidden property = "role" > value = "user"/> > <html:hidden property = "actn" > value = "login"/> > <b>User:</b> > <html:text property = "UserLog" > size = "20"/> > <b>Password:</b> > <html:text property = "Password" > size = "20"/> > <html:submit value = "Login"/> > </html:form> > > The form bean being called- logwork.entities.Users has a getter method > getUserLog(). > > Does anyone have any suggestions? > > Thanks, > Steve > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>