Brian Barrick wrote:
I'm thinking this is a fairly simple setup, maybe I just need to figure out how to tell tomcat to look for resources in the WebContent folder...
No, that's now how you do it.
Tomcat, like all JEE webapp servers is based on
webapps, which are packaged as
WARs. Technically, a WAR is a
Web
ARchive, which is a specialized form of java JAR file, which is itself a specialized form of ZIP file. That means that your build process has to construct a directory structure that meets the specifications of a WAR.
Tomcat by default "explodes" (unzips) WAR files when deploying webapps, and in fact, will even take them pre-exploded, but regardless, Tomcat still requires each deployed webapp to have a proper WAR structure, such as having a
/WEB-IND/web.xml file to define things such as servlet URL mapping, the "welcome" page, URL security and so forth, although many of those things can now alternatively be supplied in Java source code annotations. Still, a WAR's loose classes must be located in
/WEB-INF/classes and any application-specific libraries are placed in
/WEB-INF/lib. Tomcat doesn't accept stuff just randomly plunked down in any format anywhere, and that includes in the TOMCAT_HOME/webapps directory. That directory doesn't contain "an" app, it contains one or more deployed WARs, each in its own .war file or directory. So no, Tomcat does not "look for" stuff, it has places where it expects to find stuff and that stuff must be properly organized.
As far as it goes, the Eclipse "web project" does, when properly set up, assist in getting the right stuff in the right configuration to Tomcat, but as I said, the WTP plugin that works with that is so horrible that I gave up on trying to use it. Which means, alas, that my ability to help on that part is very limited.