◆ runServlet()
static void fiftyone.geolocation.web.examples.shared.EmbedTomcat.runServlet | ( | HttpServlet | servlet, |
String | workingDir, | ||
String | urlPattern, | ||
int | port | ||
) | throws LifecycleException |
static
Utility to run a webapp in Tomcat - wait and then shut down.
- Parameters
-
- servlet - a servlet
- workingDir - where Tomcat should put its temp files etc
- urlPattern - where servlet should be releative to server root
- port - the port to listen on