A JSP page has the following useBean declaration that references a bean called Person. The person class has a private field called firstname and an appropriate getter (accessor) method for retrieving the value of that field.
When you look into the answer choices : c,d,e are not possible since <jsp:getProperty> doesnt have an id, class or scope attribute. That now leaves us with 2 choices a and b. In choice b, the property name is getFirstName which is incorrect. The property names are taken by stripping out the get and set prefix and by making the first letter lowercase. Therefore, the first choice a is correct
The longest recorded flight time of a chicken is 13 seconds. But that was done without this tiny ad: