From: <php...@li...> - 2007-02-08 09:32:13
|
Hello List! I am using java-php bridge to run some old php-scripts in my tomcat and it is working fine --- so thanks for all working on this project. I have also got an fast-cgi server that I would not like to run in my apache. As the php-bridge uses fast-cgi to communicate with php the question is : is it possible to use my (or say any) fastcgi-server with the bridge ? A hint for the configuration of the web.xml would be enough or otherwise an url to some documentation. Thanks, Torsten. |
From: <php...@li...> - 2007-02-08 17:11:15
|
Is it possible to mix jsp and php on the same page? I've tried a jsp file named testphp.jsp with: <?php Phpinfo(); ?> But the php directive never seems to be recognized, and if I reverse the example running jsp tags in php files then the jsp outputs as text We have jsp taglibs (and other legacy things) that we'd like to keep in place while running a mix of php and jsp in the same file Any suggestions/examples appreciated Mike |
From: <php...@li...> - 2007-02-09 17:13:45
|
Anybody? -----Original Message----- Sent: Thursday, February 08, 2007 8:45 AM To: php...@li... Subject: [Php-java-bridge-users] Mixing jsp and php in the same file? Is it possible to mix jsp and php on the same page? <snip...> |
From: <php...@li...> - 2007-02-10 12:01:17
|
> Is it possible to mix jsp and php on the same page? No. Why do you need it? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-02-10 13:36:54
|
Hi, those who want to use taglibs from PHP might find the following link useful: http://www.alexander-merz.com/27.html The author uses the abandoned PHP4 tomcat binding, but the examples should work with the PHP/Java Bridge, too. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-02-10 18:02:26
|
Jost, This holds promise, thanks for digging it up. md -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Saturday, February 10, 2007 5:37 AM To: php...@li... Subject: [Php-java-bridge-users] Using taglibs from PHP (Was: Re: Mixing jspand php in the same file?) Hi, those who want to use taglibs from PHP might find the following link useful: http://www.alexander-merz.com/27.html The author uses the abandoned PHP4 tomcat binding, but the examples should work with the PHP/Java Bridge, too. Regards, Jost Boekemeier |
From: <php...@li...> - 2007-04-02 12:39:27
|
Hi, version 3.0.8 supports this. I have created a hidden download: http://sourceforge.net/project/downloading.php?group_id=117793&use_mirror=osdn&filename=php-java-bridge_4.0.8_j2ee.zip&97384973 A test case is in the server/tests.php5/tag.php: require_once("http://localhost:8080/JavaBridge/java/Java.inc"); java_require("$here/fooTag.jar"); $attributes=array("att1"=>"98.5","att2"=>"92.3","att3"=>"107.7"); $pc = new java_PageContext(); $tag = new java_Tag($pc, "FooTag", $attributes); if($tag->start()) { do { $pc->getPageContext()->getOut()->print("member:: "); $pc->getPageContext()->getOut()->println($pc->getPageContext()->getAttribute("member")); } while($tag->repeat()); $tag->end(); } This works from Apache/PHP and from Tomcat/PHP. Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |
From: <php...@li...> - 2007-02-10 17:31:17
|
As I mentioned in the first email we have taglibs,etc that we'd like to continue using md -----Original Message----- From: php...@li... [mailto:php...@li...] On Behalf Of php...@li... Sent: Saturday, February 10, 2007 4:01 AM To: php...@li... Subject: Re: [Php-java-bridge-users] Mixing jsp and php in the same file? > Is it possible to mix jsp and php on the same page? No. Why do you need it? Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ php-java-bridge-users mailing list php...@li... https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users |
From: <php...@li...> - 2007-02-10 12:31:59
|
Hi, please see the section "AS/Servlet with PHP CGI" from the README: "... With the command:" cd $HOME export X_JAVABRIDGE_OVERRIDE_HOSTS="/" export PHP_FCGI_CHILDREN="20" export PHP_FCGI_MAX_REQUESTS="5000" /usr/bin/php-cgi -b 127.0.0.1:9667 Regards, Jost Boekemeier ___________________________________________________________ Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de |