Hi All, What does beanName attribute in tag <jsp:useBean /> refer to - i like to know whether it will refer to a physical location of the bean or logical location. please explain.
The name should be a dot seperated name. beanName can refer either a class or file containing a serialized object. The value of the beanName attribute is passed to the instantite(..) method of java.beans.Beans class.
For the given bean name of x.y , bean instatiate first try to raed a seralized object from the resource x/y.ser ( yes, the file with .ser extention) and if the failed it would try to load the class x.y and create an instance of that class.