Chapter 10. Developing JSP Beans
In Chapter 8, “JSP Basics,” and Chapter 9, “JSP Syntax,” you learned how you can write JSP pages by interweaving HTML tags and Java code. Although this makes writing JSP pages easy and straightforward, there are at least two disadvantages to this approach. First, the resulting spaghetti-like page seriously lacks readability. Second, there is no separation of the presentation and business rule implementation. To write a JSP page this way means a JSP author must master both Java and HTML.
Versatility is not something very common in the real world, however. Finding a Java programmer who also is good at HTML page design ...
Get Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.