Last updated on JUNE 28, 2017
Applies to:Oracle WebLogic Server - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
Does Weblogic Server supports using environment variable substitution in web.xml for context parameter value?
For example, assume we have below snippet of web.xml.
We expect below Java code returns value already set by Weblogic Server start script through Java command line -D options, for example, -DurlPrefix=https
devon_home = context.getInitParameter("devon_home"); // return 'https'
Is this Weblogic Server supported? We have tested with Tomcat, it works.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms