O'Reilly logo

Sams Teach Yourself Java™ 6 in 21 Days by Laura Lemay, Rogers Cadenhead

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 21. Writing Java Servlets and Java Server Pages

The last subject to be explored is one of the most exciting and dynamic areas in Java: the use of a web server as a platform for application development.

The Java language has moved beyond applications that run on your computer and applets that run on a web page. Servlets, web applications run by a server over the Internet and presented by a web browser, employ Java with all the features of the language.

Using servlets, you can collect input from users through web page forms, present records from a database or another source, and create web pages dynamically.

This approach can be enhanced by Java Server Pages (JSP), a way to create web pages that mix static Hypertext Markup Language (HTML) with ...

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