Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

System properties variable in Web.xml  RSS feed

 
Albert John Thomas
Greenhorn
Posts: 2
Java Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could anyone help on how to reference system variables(JBOSS AS 7.1) in web.xml ?

i tried the below , where var=NONE defined in system properties in JBOSS server.
<security-constraint>
<web-resource-collection>
<web-resource-name>Secured resources</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>${var}</transport-guarantee>
</user-data-constraint>
</security-constraint>
 
Mauro Trevigno
Ranch Hand
Posts: 99
Java Linux Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why you dont set NONE directly into transport-guarantee?
<transport-guarantee>NONE</transport-guarantee>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!