Index

Ant Property Substitution

Allows build-time control over values generated. For instance, encrypting passwords.

<property name="secure-login" value="false"/>

This can be used to set an init-parameter for a servlet in your web.xml file.

* @web.servlet
*     display-name="Login Servlet"
*     load-on-startup="1"
*     name="login"
*
* @web.servlet-init-param
*     name="isSecure"
*     value="${secure-login}"

Slide No: 4