Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - PROGRAMMER GUIDE TO SERVLETS Instrukcja Użytkownika Strona 73

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 80
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 72
Access and Error Logs
The access and error server log les records the activity of the Server. During migration, new
access logs are created. Error logs from the 4.1server-instance/logs directory is copied to the
server-instance/logs in Sun Java System Web Server 6.1.
Conguration Files
Certain directives found in the iPlanet Web Server 4.1 magnus.conf le are now located in the
Sun Java System Web Server 6.1 server.xml le. During the migration process, these directives
are automatically removed from the 6.1 server’s magnus.conf le and added to the server.xml
le.
In addition, Init functions located in the iPlanet Web Server 4.1 obj.conf le are moved to the
Sun Java System Web Server 6.1 magnus.conf le.
For a list of deprecated directives, see the Sun Java System Web Server 6.1 SP9 Administrator’s
Conguration File Reference.
Note During migration, multi-line Init directives are compressed to single-line directives in
the Sun Java System Web Server 6.1 magnus.conf le.
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 Java
System Web Server 6.1. JSPs must be rewritten according to the version 1.2 standard. In
addition, Sun recommends 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
specication. This specication did not include web applications. A deployment scheme was
developed to make servlet deployment simpler. With the advent of Java Web Applications
(.war les) and their deployment descriptors, it is no longer necessary to maintain a proprietary
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 Conguration” of the iPlanet Web Server, Enterprise Edition Programmer's
Guide to Servlets.
Summary of Migration-Related Changes
Chapter 6 Migrating from Web ServerVersion 4.1 to 6.1 73
Przeglądanie stron 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 79 80

Komentarze do niniejszej Instrukcji

Brak uwag