spring-framework / org.springframework.test.context.web / WebAppConfiguration / value

value

val value: String

The resource path to the root directory of the web application.

A path that does not include a Spring resource prefix (e.g., classpath:, file:, etc.) will be interpreted as a file system resource, and a path should not end with a slash.

Defaults to "src/main/webapp" as a file system resource. Note that this is the standard directory for the root of a web application in a project that follows the standard Maven project layout for a WAR.