Setting WEB-INF Properties
See Also
The WEB-INF directory of a web module contains:
- The web.xml deployment descriptor for the web module
- The classes directory for servlet and utility classes used
by the web module
- The lib directory for JAR files containing servlets,
beans, tag libraries, JDBC drivers, and other utility classes used by the
web module.
You set properties for the web module using the WEB-INF property
sheet.
Properties
- Name. (Read-Only) Specifies the name of the directory, that is, WEB-INF.
- Context Path. The context path is a name mapped to the document base
of a web module. The context path typically corresponds to the base of the
web server's URL namespace. To specify a context path, type a name in the
Context Path field, or click the ellipsis button (...) to display the Context
Path property editor.
Sorting
- Sort Mode. Specifies the sort order of the items contained in a web
module directory.
Archive
- Filter. Use the Filter property editor to specify a filter for file
inclusion in a WAR file. The choices are:
- all files
- all files except *.java, *.form
Alternatively, you can specify the set of files to include using the Java
RE class regular expressions. For example, you can use .*class or
Pro.*, where . denotes any character and * denotes
a pattern that can be repeated 0 or more times. A guide to the RE syntax is
at http://jakarta.apache.org/regexp/apidocs/org/apache/regexp/RE.html.
You can use either the predefined filter or your own RE regular expression, but
not both.
Note that this property is unrelated
to the filter object in the servlet specification.
- Extra files. Use the Extra Files property editor to add any file
external to the web module to the WAR file. Files can be added from any filesystem
mounted in the Filesystems window.
Legal Notices