Write the servlet container configuration file and merge webapp files.