tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asha K S <>
Subject External Docroot support for Tomcat
Date Thu, 28 Apr 2011 06:42:18 GMT

We have a requirement of supporting two docroots i.e one of tomcat (webapps folder) and also
webservers webroot (Apache webservers htdocs folder) for same context.
We found that there is no way to actually do it,we have made some changes to Tomcat 7.0.8
source code and Connectors source code so that when Tomcat resolves getRealPath it actually
asks connector for the RealPath(since the files are present in webservers webroot) .For this
we have added an extra command like GET_BODY_CHUNK when sent connector will ask the webserver
for the realpath and sends it to Tomcat server.

We would like to make this contribution to Tomcat source code ,please let me know what steps
do I need to follow to submit the code and if I have to get it reviewed by someone before
doing this.


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