• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to find setter method for attribute: name

 
Hari priya
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi -

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.
Thanks!
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are extending the taglib functionality for html:form, I believe you must also update FormTag.java to handle the new attributes.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic