running BOTH php and jsp on apache 2.2
I currently have apache 2.2 running php files. I am trying to add a jsp file, but when i run the jsp file from the apache server, I just the the text of the script. I am trying to make apache have access to both php and jsp files. I read online that I need to download tomcat and a tomcat connector. I tried doing that but I couldn't figure out how to make it work. Has anyone had this issue before and been able to fix it? Also, I realize that even if I can get this working, when I try to run it on a server online, It might not be configured the same way, does anyone have any suggestions on how I can be able to test my code and not have compatibility problems when I try to upload it to an online server?