Red Hat NETSCAPE ENTERPRISE SERVER 6.0 - NSAPI PROGRAMMER GUIDE Manual do Utilizador Página 14

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 124
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 13
Dynamic Reconfiguration
14 iPlanet Web Server, Enterprise Edition Programmer’s Guide to Servlets • May 2001
A special directory under the document root, WEB-INF, contains everything related
to the application that is not in the public document tree of the application. No file
contained in
WEB-INF can be served directly to the client. The contents of WEB-INF
include:
/WEB-INF/web.xml, an XML-based deployment descriptor that specifies the
web application configuration, including mappings, initialization parameters,
and security constraints.
/WEB-INF/classes/*, the directory for the servlet and utility classes.
/WEB-INF/lib/*.jar, the directory for the JAR files containing servlets, beans,
and other utility classes.
A WAR (web application archive) file contains a complete web application in
compressed form. iPlanet Web Server cannot access an application in a WAR file.
You must uncompress a web application (deploy it using the
wdeploy utility)
before iPlanet Web Server can serve it.
Web application configuration includes two parts:
•The
web.xml file, which is the standard Servlets 2.2 deployment descriptor.
Each web application has its own
web.xml file. For information about web.xml,
see the Servlet 2.2 API specification:
http://java.sun.com/products/servlet/index.html
•The web-apps.xml file, which is specific to iPlanet Web Server. Each virtual
server has its own
web-apps.xml file, which configures all the applications
running in that virtual server.
Dynamic Reconfiguration
When you make changes to a web application, you do not need to restart the
server. Changes are reloaded automatically at a frequency set in the
reload-interval attribute of the
class-loader element in the web-apps.xml
file.
When you make changes to the
web-xml or web-apps.xml file, you also do not
need to restart the server. However, you must apply the changes by clicking the
Apply link and then clicking the Load Configuration Files button on the Apply
Changes screen.
For more information about dynamic reconfiguration, see Chapter 1, “Basics of
Server Operation” in the NSAPI Programmer’s Guide for iPlanet Web Server.
Vista de página 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 123 124

Comentários a estes Manuais

Sem comentários