This week's book giveaway is in the Programmer Certification forum. We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
i am getting No getter method for property: "userName" of bean: "result" this exception.I serched this forum for same got lot of solutions as change property to proper javabean standards tried that but it not helped.
Does the object contained in the form property results have a property named userName? The *form* does, but that's not what your code is asking for: your code is iterating over a list of unknown (to us) objects, each of which is expected to have a userName property.