In a JSP page, there is such code:
<jsp:useBean id="checklog" class="com.google.admin.guard.CheckLogBean" scope="session" />
and then
<% checklog.checkit(); %>
Why we don't just create the object with new com.google.admin.guard.CheckLogBean
?
What's the benefit of doing this?
And in the source code, there is no such class, but when we deploy it to server, it works. It seems that the server can pass the class to it?
Thanks.