WEB-INF/web.xml

<web-app xmlns="http://caucho.com/ns/resin"
         xmlns:test="urn:java:test">
  
  <test:HelloServlet>
    <WebServlet urlPatterns="/hello"/>

    <test:greeting>Hello, bean-style World</test:greeting>
  </test:HelloServlet>

</web-app>