Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual

NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Red Hat Server PDF Programmer's Manual (130 pages)

Text of Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Programmer's Manual

Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Netscape Communications Corporation ("Netscape") and its licensors retain all ownership rights to the software programs offered by

Netscape (referred to herein as "Software") and related documentation. Use of the Software and related documentation is governed by the license agreement for the Software and applicable copyright law. Your right to copy this documentation is limited by copyright law. Making unauthorized copies, adaptations or compilation works

About This Book . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

Where to Find Related Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Chapter 1 Servlets and JavaServer Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Web Applications . . . . . . . .

Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Netscape Enterprise Server Programmer’s Guide to Servlets • April 2002 (Draft)

response-cookie . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 role-mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 session-cookie . . . . . . . . . . . . . . . . . . . . . . .

Specifying a Session Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56

NESSessionManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Parameters for NESSessionManager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Enabling NE
Netscape Enterprise Server Programmer’s Guide to Servlets • April 2002 (Draft) Legacy Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Maximizing Legacy Servlet Performance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Appendix A Servlet Settings in magnus.conf and obj.conf . . . . . . . . .

About This Book

This book discusses how to enable and install Java™servlets and JavaServer Pages™(JSP) in Netscape® Enterprise Server 6.1. This book has the following chapters and appendices: • Chapter 1, “Servlets and JavaServer Pages” This chapter introduces web applications, servlets, and JavaServer Pages. • Chapter 2, “Web Applications” This chapter discusses the structure of web applications and how to deploy them in Enterprise Serv

Red Hat NETSCAPE ENTERPRISE SERVER 6.1 - PROGRAMMER GUIDE TO SERVLETS Where to Find Related Information

8 Netscape Enterprise Server Programmer’s Guide to Servlets • April 2002 (Draft) • Chapter 7, “API Clarifications” This chapter discusses methods in the Servlets API that behave marginally differently in Enterprise Server than specified in the Sun Microsystems’ Servlets API documentation or where the behavior documented by Sun Microsystems is ambiguous. • Chapter 8, “Legacy Servlet and JSP Configuration”
Where to Find Related Information About This Book 9 • Netscape Enterprise Server NSAPI Programmer’s Guide • Netscape Enterprise Server Release Notes You can find Enterprise Server documentation online in PDF and HTML formats at: http://enterprise.netscape.com/docs
Where to Find Related Information 10 Netscape Enterprise Server Programmer’s Guide to Servlets • April 2002 (Draft)

Servlets and JavaServer Pages

Netscape Enterprise Server 6.1 supports servlets and JavaServer Pages (JSPs). This chapter gives a brief overview of servlets and JSPs in Enterprise Server 6.1. The sections in this chapter are: • Web Applications • Servlets • JavaServer Pages Enterprise Server 6.1 runs with a specific version of the JRE or JDK that is operating-system dependent. For more information, see “What Does the Server Need to Run
Netscape Enterprise Server Programmer’s Guide to Servlets • April 2002 (Draft) 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. Enterprise Server 6.1 supports the Java Servlet Specifica
Servlets and JavaServer Pages 13 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 • by using server-side tags that include Java servlets Both beans and servlets are Java classes that need to be compiled, but they can be defined and compiled by a Java programmer, who then publishes the interface to the bean or the servlet

Red Hat Server Owners Instructions:

Device Model Type of Document Pages Size Views Downloads Updated
NETSCAPE DIRECTORY SERVER 6.01 - PLUG-IN
524 3.56 Mb 459 88 02-08-2026
NETSCAPE DIRECTORY SERVER 6.01
282 2.34 Mb 1430 258 06-06-2026
JBOSS ON
6 0.75 Mb 943 227 11-08-2026
NETSCAPE DIRECTORY SERVER 7.0
124 2.68 Mb 1301 326 04-09-2026
DIRECTORY SERVER 8.0
128 0.8 Mb 1175 282 11-08-2026

Server: Similar Manuals