URL ServletContext.getResource(String path) Set ServletContext.getResourcePaths(String path)
Static files: <fileServingAttributes xmi:id="<user-provided name>" name="preFragmentExtendedDocumentRoot" value="<user provided value>"/>
JSP files: <jspAttributes xmi:id="<user provided name>" name="preFragmentExtendedDocumentRoot" value=<user provided value>"/>
The <user provided name> is a comma-separated list of directories that can include JAR or ZIP files from which static files or JSP files can be accessed. The list can be fully qualified or relative to the application ear directory. The attributes can be specified with identical values. Further, you can specify the same values by different applications.
com.ibm.ws.webcontainer.SkipMetaInfResourcesProcessing = true
Static files: <fileServingAttributes xmi:id="<user provided name>" name="extendedDocumentRoot" value="<user provided value>"/>
JSP files: <jspAttributes xmi:id="<user provided name>" name="extendedDocumentRoot" value=<user provide value>"/>
com.ibm.ws.webcontainer.SkipMetaInfResourcesProcessing = true
The <user provided name> is a comma-separated list of directories that can include JAR or ZIP files from which static files or JSP files can be accessed. The list can be fully qualified, or relative to the application EAR directory. You can specify both attributes with identical values. Also, different applications can specify the same values.
com.ibm.ws.webcontainer.ServeWelcomeFileFromExtendedDocumentRoot = true
com.ibm.ws.webcontainer.enablepartialurltoextendeddocumentroot = trueThe default value is false.
If this property is set to true, the web container includes the contents of a static file extended document root when determining whether an inbound request is for a valid partial URL. For example, if a request specifies a URL that ends with /<application context>/<text> and <text> does not map to a servlet or static file, the web container considers this URL a valid partial URL only if <text> is a valid directory of the application. As a result if directory <text> exists only in a static file extended document root, this property must be set for the URI to be considered a valid partial URI.