Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

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

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 VI Editor Redhat
  • 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.
I promise I will be the best, most loyal friend ever! All for this tiny ad:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic