File serving
In file serving, Web apps can serve static file types, such as HTML. File-serving attributes are used by the servlet that implements file-serving behavior.The file-serving behavior is implemented by setting the fileservingenabled property to true when configuring the Web module.
Example attributes:
- bufferSize
- Set buffer size used for serving static files.
- extendedDocumentRoot
- Path that specifies the directory where static files are sent. Use this attribute in addition to the contextRoot attribute.
- file.serving.patterns.allow
- Specifies that only files matching the specified pattern are served.
- file.serving.patterns.deny
- Specifies that files that match the specified file pattern are denied
Related
Web apps: Links