Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
Using JavaBeans, you can separate the presentation part of a JSP page from the business rule implementation (Java code). However, only three action elements—jsp:useBean, jsp:getProperty, and jsp:setProperty—are available for accessing a bean. As such, in some situations, we have to resort to using code in a JSP page. In other words, oftentimes JavaBeans don’t offer complete separation of presentation and business rule implementation.