Statement « Bean « JSP-Servlet Q&A





1. jsp:useBean statements within if-else    coderanch.com

4. which one better to use - jsp:useBean or import statement    forums.oracle.com

Hi, I just want to know that which one is better to use jsp:useBean or import statement . I can instantiate and call method of myclass - 1) by importing the class through import tag in jsp as <%@page import="myclass"%. or 2). by using