简体   繁体   中英

Apache / Tomcat / mod_jk when you use Webjars … is it possible?

I have a java web application which use Webjars (client-side web libraries (eg jQuery & Bootstrap) packaged into JAR (Java Archive) files, see http://www.webjars.org/ ). If i use only Tomcat, it works fine.

But i want to put an Apache server in front of the Tomcat (with mod_jk) to serve the static content. How can i configure Apache to do it ? the static content is into jars files !

thks.

In this case Apache is just a proxy for whatever Tomcat serves. So it should just work .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM