Name

<env-entry>

Synopsis

The <env-entry> element defines simple objects, such as a String or Boolean, used by the application. The <env-entry-name> defines the name and <env-entry-type> the type, which must be one of java.lang.Boolean, java.lang.Byte, java.lang.Character, java.lang.String, java.lang.Short, java.lang.Integer, java.lang.Long, java.lang.Float, or java.lang.Double. The value can optionally be defined statically, using the <env-entry-value> element or be provided at deployment. An optional <description> element is also supported:

<env-entry>
  <env-entry-name>maxConnections</env-entry-name>
  <env-entry-value>100</env-entry-value>
  <env-entry-type>java.lang.Integer</env-entry-type>
</env-entry>

Get JavaServer Pages, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.