|
From: <php...@li...> - 2010-02-15 16:52:12
|
On 2/15/10, php...@li...
<php...@li...> wrote:
> I would like to include the output from a JSP or Servlet in my PHP
> pages. I want something like the following.
Please use the virtual() function. If it is not defined, define it as:
function virtual($res) {
java_context()->getHttpServletRequest()->getRequestDispatcher()->include($res);
}
Please see
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletContext.html
for details.
Regards,
Jost Bökemeier
|