previous | index | next

Servlet Configuration Example (cont'd)

To accomplish this, when deploying the Servlet place the following in web.xml:
<servlet>
  <servlet-name>InternationalizedHelloWorld</servlet-name>
  <servlet-class>InternationalizedHelloWorld</servlet-class>
    <init-param>
      <param-name>greeting</param-name>
      <param-value>Bonjour!</param-value>
    </init-param>
</servlet>       

previous | index | next