Sharing Tomcat for both my static site and servoy web apps

I’d like to use the web server installed with Servoy (Tomcat) to publish (for internal and testing purpose) a website with more than 40k statics URLs (html and pdf documents).

I wonder if just dumping the whole directory of ‘my-test-website’ into the ROOT folder would do the job. After all, the installation of Tomcat seems to be an standard installation (8080 port).

Is it ok if I share Tomcat’s ROOT folder among my static site and the other Servoy’s sub-directories?

JC

Tomcat can serve static documents, but it is not as efficient as Apache Httpd for this task.

I would recommend using Apache Httpd as your main server, and proxying your dynamic requests to Tomcat, using either proxy method or mod_jk.
Google Apache mod_jk or Httpd + Tomcat proxying to find out how this is done, it’s not that complicated and you get the best of both world.

Hope this helps,