O'Reilly logo

Java for the Web with Servlets, JSP, and EJB: A Developer’s Guide to J2EE Solutions by Budi Kurniawan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Developing JSP Beans

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required