There is -
<html>
<body>
         <jsp:useBean id="user" class="user.UserData" scope="session"/>
</body>
</html>
And -
<html>
<body>
         <%
             Object user = session.getAttribute("user.UserData") ; 
         %>
</body>
</html>
Assume user.UserData exists on the session . is there any differnce between the two ways  ?