Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual de usuario Pagina 10

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 124
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 9
Servlets
10 iPlanet Web Server, Enterprise Edition Programmer’s Guide to Servlets • May 2001
Servlets
Java servlets are server-side Java programs that web servers can run to generate
content in response to a client request in much the same way as CGI programs do.
Servlets can be thought of as applets that run on the server side without a user
interface. Servlets are invoked through URL invocation.
iPlanet Web Server 6.0 supports the Java Servlet Specification version 2.2
(including Web Application and WAR file support).
To develop servlets, use Sun Microsystems’ Java Servlet API. For information
about using the Java Servlet API, see the documentation provided by Sun
Microsystems at:
http://java.sun.com/products/servlet/index.html
JavaServer Pages
iPlanet Web Server 6.0 supports JavaServer Pages (JSP) Specification version 1.1.
A JSP is a page, much like an HTML page, that can be viewed in a web browser.
However, in addition to HTML tags, it can include a set of JSP tags and directives
intermixed with Java code that extend the ability of the web page designer to
incorporate dynamic content in a page. These additional features provide
functionality such as displaying property values and using simple conditionals.
One of the main benefits of JSPs is that, like HTML pages, they do not need to be
compiled. The web page designer simply writes a page that uses HTML and JSP
tags and puts it on their web server. The web page designer does not need to learn
how to define Java classes or use Java compilers.
iPlanet Web Server supports precompilation of JSPs, however, and this is
recommended for production servers.
JSP pages can access full Java functionality in the following ways:
by embedding Java code directly in scriptlets in the page
by accessing Java beans
NOTE Servlet API version 2.2 is fully backward compatible with version
2.1, so all existing servlets will continue to work without
modification or recompilation.
Vista de pagina 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 123 124

Comentarios a estos manuales

Sin comentarios