If you are coding to modern standards, your JSP will have a page controller servlet that is invoked prior to the JSP. it is within this controller that "page preparation" activity takes place, to include the placement of scoped variables.
If i am getting you correctly. You mean to say that the controller servlet already creates an instance of the class "foo.person" and sets it as an attribute in context level so in the jsp, we don't need to define class in useBean, it understands which class the 'type' is refering to. Will i be correct or i am going way off the track?