-
Running JSP with apache
I currently have FC4 running with apache and iam desinging a webpage wherein some parts of the code are in PHP and and some files in JSP. Ho wdo i run them simulatenously.
I have tried doing with TOMCAT but !im clearly not able to grasp how it all comes togetehre ! can someone explain how it happens ?
thnx
taggy
-
http://tomcat.apache.org/tomcat-3.2-...che-howto.html
check that link
also this google search
http://www.google.com/search?hs=zbt&...at&btnG=Search
basically the way it works is apache is the front end, all web requests hit apache, if its html or php apache tells itself to serve the page, if its jsp apache hands it off (using mod_jk connector) to tomcat on port 8080. the user isn't connecting to port 8080 but instead still connecting to apache on port 80 and apache is doing the leg work to get to tomcat.
it works very nice. depending on your distro, if its debian based try
#apt-cache search mod_jk2
if redhat based try yum search mod_jk2
otherwise check the docs above, its not to terribly difficult to install from source.