Referencing Environment Variables in web.xml

前端 未结 7 1268
無奈伤痛
無奈伤痛 2020-11-30 01:37

I\'m pre-packaging a JSP web-app that relies on some file path settings found within web.xml. These settings are unknown at packaging time, because they reference a path the

7条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-30 02:20

    You have to put the env-entry in order :

    
      maxAmount
      java.lang.String
      aString
    
    

    Else you will have validation error on web.xml

    ref: https://community.oracle.com/thread/840452?tstart=0

提交回复
热议问题