Page 1 of 1

using JSP to call PHP script out put?

Posted: Wed Apr 11, 2007 12:59 am
by adisonz
I am using Apache 2.2.4 Tomcat 6, Tomcat Connector 1.2 , i already link apache and tomcat together already and both php and jsp works under http://localhost/

I want to ask is how to let them both work together to generate one page of out put ?
Lets say i have one php file for generating image verification for sign up purpose, and others i want to let JSP handle it,
and so i need the session store in PHP to store in my JSP page,

What is the best way to code by making JSP and PHP running together. ?

One more question, jsp files on tomcat/webapp, PHP in apache/htdocs, and both under localhost, but then how to make both working directory are the same ?

Posted: Fri Apr 13, 2007 6:21 am
by PuneetSeo
for running php & jsp u use jakarata tomcat.

In php code,we implement java/jsp script. plz refer http://php.net/