spring-framework / org.springframework.web.util / ServletContextPropertyUtils / <init>

<init>

ServletContextPropertyUtils()

Helper class for resolving placeholders in texts. Usually applied to file paths.

A text may contain ${...} placeholders, to be resolved as servlet context init parameters or system properties: e.g. ${user.dir}. Default values can be supplied using the ":" separator between key and value.

Author
Juergen Hoeller

Author
Marten Deinum

Since
3.2.2

See Also
SystemPropertyUtilsServletContext#getInitParameter(String)