19202122232425262728
webServer.setWebAppDirectoryLocation(webappDirLocation); //servlets for sms service webServer.addServlet("HelloWorld", "com.mycompany.HelloWorld"); webServer.addServletMapping("/helloworld", "HelloWorld"); webServer.start(); } }