tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blaxton <>
Subject MVC or Model2 with Tomcat
Date Sun, 04 Dec 2011 09:32:02 GMT
Apache 2.2.16  is connected to  Tomcat 6.0.29 through mod_jk version 2
and every thing is working fine, but to implement Model2 or MVC, I need
to serve JSP files from apache document root and don't know what is 
the best soluction.

Tried adding following to apache config file but that didn't help serving
jsp files from apache document root.

JkMount /*.jsp ajp13
Should i change Apache document root to tomcat's web application root
to be able to support jsp files in apache document root ?

Or should i change the Tomcat's docbase to Apache's document root ?

Or it can be done be aliasing in apache config file:

Alias /examples /vat/tomcat3/webapps/examples

Thanks for help
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message