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
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
Struts 1.24 - Problem with 'module' attribute of html:rewrite
Exception creating bean of class
problem in generating dynamic menu in struts, through actionForms
Cannot find bean lookupForm in any scope
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014