O'Reilly logo

Getting Started with Eclipse Juno by Vinicius H. S. Durelli, Rafael Medeiros Teixeira, Rodrigo Fraxino Araujo

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

Implementing your very first JSP using Eclipse WTP

The previous sections got us started with Tomcat, servlets, and Eclipse WTP. As you saw, despite the benefits provided by Eclipse WTP (it generated all the structure of the web project for us and also took care of generating a significant chunk of code when we implemented the previous example servlet), embedding HTML into your Java code feels a little awkward. As we mentioned, JSPs were introduced to make the creation of dynamic content more straightforward and appealing. JSPs let you mix HTML and Java code in a better way than servlets. Rather than embedding HTML into Java code, JSP makes it possible to embed dynamic content into HTML. Recall from the previous sections that a JSP is an HTML page ...

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