Red Hat NETSCAPE DIRECTORY SERVER 6.1 - PLUG-IN Manuale Utente Pagina 86

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 94
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 85
Summary of Migration-Related Changes
86 Sun ONE Web Server 6.1 Installation and Migration Guide August 2003
Java Server Pages
iPlanet Web Server 4.0 Java Server Pages (JSPs) were written in JSP 0.92. The
iPlanet Web Server 4.1 and 6.0 JSPs are written in JSP 1.2. Version 0.92 is no longer
supported in Sun ONE Web Server 6.1. JSPs must be rewritten according to the
version 1.2 standard. In addition, it is recommended that developers create JSPs as
part of web applications. Style examples can be found in
server_root
/plugins/servlets/examples/web-apps.
JSPs written in JSP 1.2 that are part of a web application can reside in any directory
that the server can serve from.
JSP 1.2 samples are in server_root/
plugins/samples/servlets/jsp.10.
Java Servlets
Netscape Enterprise Server / iPlanet Web Server 4.0 and 4.1 supported the Java
Servlet 2.1 specification. This specification did not include web applications. A
deployment scheme was developed to make servlet deployment simpler. With the
advent of Java Web Applications (
.war files) and their deployment descriptors, it is
no longer necessary to maintain a proprietory deployment system.
iPlanet Web Server 6.0 supported both types of deployment schemes, but the 4.x
implementation (referred to as legacy servlets) was marked as deprecated (See
Chapter 8: “Legacy Servlet and JSP Configuration” of the iPlanet Web Server,
Enterprise Edition Programmer's Guide to Servlets).
Sun ONE Web Server 6.1 no longer supports Legacy Servlets. The legacy-style
properties files for the server you want to migrate -
servlet.properties,
context.properties, and rules.properties - are removed during migration.
Because there is no one-to-one mapping for all of the features, legacy servlets
cannot be migrated automatically.
For documentation and samples to help you migrate your 4.1 legacy-style servlets
to the web applications structure, see the Sun ONE Web Server 6.1 Programmer’s
Guide to Web Applications.
NOTE
During migration, multi-line Init directives are compressed to single-line
directives in the Sun ONE Web Server 6.1 magnus.conf file.
Vedere la pagina 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 92 93 94

Commenti su questo manuale

Nessun commento