code: private void writeWebModule(String filename, String context) {
          Element element = writeModule();
          Element web = doc.createElement("web");
          element.appendChild(web);
          Element webUri = doc.createElement("web-uri");
          Element contextRoot = doc.createElement("context-root");
          web.appendChild(webUri);
          web.appendChild(contextRoot);
          webUri.setTextContent(filename);
          contextRoot.setTextContent(context);
      }
docs: Writes WEB part to application.xml.
  
  @param filename name of module
  @param context context