$K(The Web Container Model)
$KK(Context Parameter)
$R(Objective)
For the ServletContext initialization parameters: write servlet code to access initialization
parameters; and create the deployment descriptor elements for declaring initialization parameters.
$R\
Wir haben gelernt, wie man innerhalb der Deployment Descriptor Datei web.xml mit dem
Element init-param einem Servlet initiale Parameter mitgeben.
Die Servlets einer Web Applikation teilen sich ein Servlet Context. In der Datei web.xml
lässt sich durch die Elemente context-param für ein Servlet Context initiale Paramter
definieren.
$S()
webmaster
myadress@mycompany.com
The email adress the customer can write if he
has installation problems
$S\
Das Servlet Context Interface zeigt wie man auf diese Parameter zugreifen kann.
$S()
public interface ServletContext{
public String getInitParameter(String name);
public Enumeration getInitParamterNames();
}
$S\