Web-app
From CauchoWiki
The <web-app> allows all the Environment configuration as well as the following:
| directive | meaning | default |
| access-log | Configures an <access-log> specific to the web-app | |
| active-wait-time | how long to wait for the web-app to start before returning a 503 | |
| allow-servlet-el | allow EL expressions in <servlet> init-param directives. | |
| <archive-path> | location of the web-app's .war file | |
| cache-mapping | Configures the expires time for cacheable pages | |
| cookie-http-only | sets the HttpOnly attribute of the session cookie | |
| context-param | configures the ServletContext.getContextParam() values | |
| context-path | overrides the default context-path for the web-app | |
| dispatch-wraps-filters | if true, RequestDispatcher simply wraps the requsts for filters | false |
| display-name | informational: debug name for the web-app | |
| distributable | informational: marks the web-app as clusterable | true |
| ear-deploy | configures a directory for .ear expansion | |
| ejb-local-ref | informational: describes local EJBs used in the web-app | |
| ejb-ref | informational: describes remote EJBs used in the web-app | |
| error-page | configures user-specified error pages | |
| filter | configures a filter | |
| filter-mapping | maps a filter to a url | |
| idle-time | for lazy-load web-apps, specifies how long the web-app can remain idle before closing | |
| jsp | configures the jsp (obsolete) | |
| jsp-config | configures the jsp | |
| listener | configures a listener for web-app events | |
| login-config | configures the servlet-standard login mechanism | |
| message-destination | informational: describes a JMS destination in the web-app | |
| mime-mapping | configures Content-Type values based on filename extensions | |
| multipart-form | configures file uploading | |
| path-mapping | configures getRealPath aliasing | |
| <prologue> | web-app configuration which should apply before the web-app-default | |
| resource-env-ref | informational: describes JNDI resources used in the web-app | |
| <redeploy-check-interval> | how long Resin should wait to redeploy a failed web-app (3.0.19) | 60s |
| <redeploy-mode> | how Resin will restart a changed web-app | |
| <rewrite-dispatch> | rewrites URLs and returns error pages and forwarding | |
| <rewrite-real-path> | rewrites getRealPath aliasing | |
| secure | marks the web-app as requiring a secure request | |
| security-constraint | configures the servlet security constraint | |
| security-role | informational: describes security roles used in the web-app | |
| servlet | configures a servlet | |
| servlet-mapping | maps a url to a servlet | |
| servlet-regexp | maps a servlet using regular expressions | |
| session-config | configures the session | |
| shutdown-wait-max | how long to wait for all threads to exit on shutdown before forcing an exit | |
| <startup-mode> | how the web-app will be started on Resin startup | |
| strict-mapping | forces exact URL matches | |
| taglib | configures additional JSP taglibs used in the JSP | |
| web-app | configures a child web-app | |
| web-app-deploy | configures a child webapps deployment directory | |
| welcome-file-list | configures the files to be used as index.html files |
