|
From: <php...@li...> - 2007-11-28 08:34:40
|
Hi,
if I understand the jk_mount directive, you now forward all requests to the oracle application
server.
> Is there any way I can include PHP code in JSP pages?
The bridge supports the JSR223 API. Which means that you could do the following (in pseudo code):
<%
javax.script.ScriptEngineManager m = new javax.script.ScriptEngineManager();
javax.script.ScriptEngine e = m.getEngineByName("php");
e.setOutputStream (out);
e.eval ("<?php echo 1+2 ?>");
%>
However, isn't it possible to run PHP on the Apache web server and to use the PHP/Java Bridge
protocol to connect to the Java back end?
Regards,
Jost Boekemeier
Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail - www.yahoo.de/mail
|