1) I am using
a) JSP : Front-end programming language
b) PHP : Backend Programming language
2) These are the two languages can be run on Apache server without the integration of Tomcat.
3) But, for enhancing the logic of website, we use JAVA as another Back-end Programming language.
4) Now, this JAVA need to be integrated with the JSP and PHP pages of website.
5) So, in one JSP file, a part of the code can be in JAVA and part of the code can be in PHP.
6) Ideally, it would be great if the part of PHP code runs on Apache server and Java code runs on Tomcat server.
7) Else, please let me know to find an integration of PHP servlet which can use to run PHP code on Tomcat server.