This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to find setter method for attribute: name

 
Hari priya
Ranch Hand
Posts: 134
  • 0
  • 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
  • 0
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic