我有spring boot应用程序,我想在weblogic.But中运行它,我有一些属性,当我用jar执行spring时,没有problem.Also,我可以把这些属性放在application.properties中,当我们在weblogic中部署时,把我们的包变成war file.But,它在应用程序属性中看不到这些参数。 String myvalue = System.getProperty("server.servlet.contextPath"); //doesnt work in code in weblogic 我们如何将系统属性传递给web逻辑?