Win a copy of The Journey To Enterprise Agility this week in the Agile and Other Processes forum! And see the welcome thread for 20% off.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Joe Ess

Unable to locate setter methof for attribute lock in the tag class  RSS feed

Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
below is the error that im getting while running my application.

Error failed to locate setter method for attribute lock in tag class

What i have done is add a new param to a existing cutom library for this i have made a entry in the tld file , included the field injsp file and enter setter and getter method for it in the tag implementation class.

below is the code -
1.) TLD file entry fo the tag

2)entry in jsp file

3) code of taglib implementation class

Thanks 2 all of you for your help.
[ August 07, 2007: Message edited by: Ben Souther ]
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here.
In particular please see
EaseUp to find out why adding "Urgent" to your posts or subject lines will only slow down or stop responses to your question altogether.

Again, welcome to JavaRanch and good luck with your question.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!