+

Search Tips   |   Advanced Search

 

File serving

 

In file serving, Web applications 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

Sets buffer size that is 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 Reference


Web applications: Resources for learning