MACROMEDIA CONTRIBUTE 3-DEPLOYING CONTRIBUTE Guida Utente Pagina 115

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 142
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 114
WARFiler
Components User's Guide
115
5
Set up and start deployment.
6
Schedule and run deployment.
1: Create the Deploy Folder Structure
You must store all of your web application files in a specific set of root deploy folders in
Collage. Collage looks for specific types of files in these root deploy folders, and correctly
generates the WAR file based on these files.
Set up the following root deploy folders, named exactly as they appear here:
/Code
This root folder contains all servlet and class files, organized according to the Sun
standard for WAR file deployment. It contains the
/WEB-INF/classes
folder, which
stores all of the Java class files, and the
/WEB-INF/lib
folder, which stores all of the
JAR files.
/Configuration
This root folder stores all configuration files, including the actual web.xml file. Place
the web.xml file in a
/WEB-INF
folder, under the
/Configuration
folder. Place any
additional configuration or properties files in the
/WEB-INF
folder as well.
/Content
This root folder stores all HTML files, images, and JSP files that are placed in the WAR
file.
/WarContents
This root folder is the only folder that is actually deployed to the destination server
when you deploy a WAR file. It stores any files that will be deployed but not placed
IMPORTANT!
If you want any properties files to be added to the web server's classpath, you must
place them in a
/WEB-INF/classes
subfolder beneath the
/Configuration
folder.
IMPORTANT!
The JSP compiler for Tomcat requires that the web.xml file is in the same tree as the
JSP files. Therefore, you must create a
WEB-INF
folder beneath the
/Content
folder
and store a web.xml file in it. However, this web.xml file is used only to enable
Tomcat to recognize that this is the root folder for JSP files, and is not the file that will
be used as the application descriptor file at deploy time.
Vedere la pagina 114
1 2 ... 110 111 112 113 114 115 116 117 118 119 120 ... 141 142

Commenti su questo manuale

Nessun commento