If source named ExcelExample then directory structure will be like bellow:

servlet directory structure in tomcat

servlet directory structure in tomcat

Need to add the following text in server.xml to run on tomcat:

  <Context path="/ExcelExample"
          docBase="webapps/ExcelExample"
          crossContext="true"
          debug="0"
          reloadable="true"
          trusted="false" >
  </Context>

Source