Context - parameters

Working notes on Context - parameters: Context.xml, Web.xml, 1. Parameters, and 2. Environment entries.

Declare and define.

Context.xml

In parameters.

Web.xml

In tags.

1. Parameters

  1. Company.

2. Environment entries

  1. 3. Resource definitions.
  1. DB.
  1. <Resource.

Name = "jdbc/EmployeeDB".

Auth = "Container".

Type = "javax.sql.DataSource".

Description = "Employees Database for HR Applications".

/>.

Application.getInitParameter("companyName").

Updated: 2026 Aug 19