Hi Jothi,
As per the syntax of jsp:useBean mentioned
here The beanName is used to instantiate a Bean from either a class or a serialized template, using the JavaBeans API. Though it looks similar to that of "class" attribute, it uses to instantiate a Bean from a template as well.
I remember i have read it in HFSJ that you can either use class or name attribute but no need to use them both.