PDA

View Full Version : call php from a jsp


adam
05-30-2010, 02:57 AM
Hi,

I have a jsp/servlet web application, and I want to integrate some php into the application. Is there any way from a jsp to "include" php code.

For example, I have a jsp page, and if I call something like the following <jsp:include page="test.php" />, I was hoping that it would place within the html whatever is outputted by test.php. Unfortunately, this did not work and threw some exceptions.

Is something like this even possible? How to I take a jsp and add some php within that same page? Any thoughts?

Thanks,

-Adam

domdorn
06-14-2010, 10:20 PM
please post the error you've got.
I would also like this to work.