-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 George,
On 4/9/15 10:52 AM, George Sexton wrote: > On 4/8/2015 6:15 PM, Leggio, Andrew wrote: >> This contains both HTML and JSP. I would like the HTML to be >> handled through Apache and JSP pages to be handled by TOMCAT. >> How do I accomplish this? > > Just my two cents, but any server that works the way you want is > not compliant with the servlet specification. It states that all > requests for a context must be passed to the container. ?? The servlet spec doesn't apply to environments, only containers. If the OP wants to have Apache httpd serve static files and proxy dynamic requests, that's perfectly reasonable. It's also easy to do. > What you're suggesting is what GoDaddy does. The problem is that if > you map requests for things like css, javascript, or even ".html" > pages to a servlet, then it breaks. > > Bad idea. ? Why would a servlet have a problem handling a request for a .html file? The DefaultServlet was designed with that explicit purpose in mind . - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJVJqOHAAoJEBzwKT+lPKRYL6cQAKELJ476ux4/+UM1KcLMSWtR hh1Ft/uiU9vS2dhTvLZuRNCdzBHNL61Xq599CfHmFgBiKke68bEej9mjWaa8QqLc lHi2uEzO8OtXvR0OO/6hTtF3H1bxGh0OFE51BZ7J6mBXzZxzxmpee8HKs5EfrPpR PnbETVAJzzBOpduW6/m4UKNflcna5Cm0CATQVHyrKAm1PX3/3s3o0jF82PITW8ad dRBSt3IxxhjiOjvB119CGAyx3OlxqRCpvDZXerjhKP7lFxKN1VpbaaR27CRnM+RX /OPMUI0Mj8dVjnYZSc92lFbVRykYJf7ItTMpVQEYYG992gGKWRRwhPXVxDyUpMzq r0W6rCs3NV20OjUTS3peYACdDNzp8Etk2TT3T9SfowXv+6DUbIyDrBD/sHXrHw3l NAaraRIQzsUjvRITYIdK2np4EBHsnwZBP7Do5YjJclYDq4QUsnjfLDD/Y3jfpNs8 +zVJa9lNaJktKPCzN5hy1mMc+cKLZd2Z+wa58+YkiCAr4uffBAqMZ8bOCoWdSqa5 bowJ1/XT4DI13Ji36AliiVJIUcEk2pYy58kqD1c/12asO5BgETI4BdGfT9AI3bBE qcJPkNH5VKb9G6+It2LJvGEpZhxCr2vZRVluTlUcymgFtNu5KZAhO4OAn4p5Ch78 LDSuJI5jc5NsbeMHFLMS =Fb2W -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org