Chapter 13. Developing and Testing JSPs in WSAD

In Chapters 6 and 7, you saw how to develop servlets to add dynamic behavior to your Web application. Servlets work well, but at the end of Chapter 7, we explored some difficulties in using servlets alone. Developing good dynamic HTML is hard. Getting the content right, making it look good, and getting HTML to do what you want can be quite difficult. It's even harder when the HTML is buried in Java print statements. In the Java editor, there's no WYSIWYG design view, no HTML content assist, no preview, quotes on attribute values have to be escaped, etc.

When servlets are used to create user interface components consisting of dynamic HTML pages, it's the HTML that is the primary focus, not Java. JSPs ...

Get Enterprise Java Programming with IBM WebSphere 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.