File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
Unable to find setter method for attribute: name
Joined: Mar 11, 2004
Jan 20, 2005 15:18:00
I am repeatedly getting this error -
org.apache.jasper.JasperException: /LoginScreen.jsp(101,0) Unable to find setter method for attribute: name
the line 101 of the login is -
<html:form action="/MyLogin" name="loginForm" type="mapackage.forms.LoginForm" focus="userName" scope="session">
The strust-html.yld file did not have name / scope attributes which I have included and then deployed the war file.
Please let mek now if I am missing something here.
Joined: Feb 05, 2003
Jan 20, 2005 21:49:00
If you are extending the taglib functionality for html:form, I believe you must also update FormTag.java to handle the new attributes.
A good workman is known by his tools.
I agree. Here's the link:
subject: Unable to find setter method for attribute: name
Exception creating bean of class
Cannot find bean lookupForm in any scope
problem in generating dynamic menu in struts, through actionForms
Struts 1.24 - Problem with 'module' attribute of html:rewrite
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014