hi all, suppose the bean we were trying to find is not abilable or it was not set in any scope. in that case container creates a new instance of bean and sets it into the appropriate scope.
the statement that is used (after translation of JSP to servlet) to create an instance will be like A identifier = new B()
here A is the class/interface which you defined under "type" attribute . B is the class which you defined under "class" attribute . if you do not define a type attribute , class attribute will be used for type also.
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads