My application structure is as following
Apache/htdocs/index.php
Apache/htdocs/styles/css.css
Apache/htdocs/sscripts/js,js
Apache/htdocs/themes/meta.html
Apache/htdocs/themes/header.html
Apache/htdocs/themes/footer.html
Apache/htdocs/MANY_OTHER_FILES_DIRECTORIES
Tomcat/webapps/project1
Tomcat/webapps/project2
I am running Tomcat through Apache with "mod_jk.so" on port 8080.
I am trying to find a way to include "meta.html" in <head></head> and "header.html" after <body> tag.
Is it possible? If no, then how can I have common parts in JSP pages rather than writing those parts directly in the page?
I have 2 files because <head></head> in JSP page willl have extra code besides the code in "meta.html" hence 2 pages.