29.01.2013 Views

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

WebSphere Application Server - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7. Working with servlets<br />

Servlets are server-side Java classes that are deployed, managed, and executed<br />

on a J2EE-compliant server. Servlets are invoked from a URL and the output can<br />

be dynamically generated HTML, XML, or text. <strong>WebSphere</strong> <strong>Application</strong> <strong>Server</strong> -<br />

Express supports the Java Servlet 2.3 specification. This specification can be<br />

found at:<br />

http://java.sun.com/products/servlet/<br />

7<br />

If you are not familiar with servlets, this chapter will introduce you to the<br />

necessary concepts. These concepts are also important in understanding Java<br />

<strong>Server</strong> Pages (JSPs). If you are familiar with servlets, read on to find out how to<br />

build servlets with Studio Site Developer. The following topics are discussed in<br />

this chapter:<br />

► Servlet overview<br />

► Studio Site Developer and servlets<br />

► Using servlets in the Online Catalog sample<br />

Important: This chapter only outlines and illustrates <strong>WebSphere</strong> Studio Site<br />

Developer support for servlets. If you would like information on Java support,<br />

please see the <strong>WebSphere</strong> Studio <strong>Application</strong> Developer Version 5<br />

Programming Guide (SG24-6957) redbook.<br />

© Copyright <strong>IBM</strong> Corp. 2003 215

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!