I'm working on a project where I would like to run a simple web front end for it. To save the time of implementing my own HTTP server I'd like to embed Tomcat. I've read several documents on how to do this, and I've managed to get Tomcat running inside my program. However, all the examples I've seen show how to load a WAR file and use that as a web application. If it's possible, I'd rather just have a sevlet class inside my program that Tomcat uses rather than having an external web application. I haven't found any examples for how to do this, and I haven't been able to figure it out from the JavaDocs. Does anyone have ideas for how to do this?
Thanks, Eric Holk