简体   繁体   English

Quercus:Java和PHP集成

[英]Quercus: Java and PHP integration

I was try Quercus these days, I want to create a java PHP integration module, after looking at the tutorials, I was stack at the part below: 这些天,我一直在尝试Quercus,我想创建一个Java PHP集成模块,看完这些教程之后,我在下面的部分中进行了介绍:

Step 3: Create com.caucho.quercus.QuercusModule and place it in $webApp/WEB-INF/classes/META-INF/services example.HelloModule 步骤3:创建com.caucho.quercus.QuercusModule并将其放置在$ webApp / WEB-INF / classes / META-INF / services示例中。

BTW, the demo http://www.caucho.com/resin-3.0/quercus/tutorial/module/hello.php or http://quercus.caucho.com/quercus-3.1/examples/quercus-module/hello.php is not working as well. 顺便说一句,演示http://www.caucho.com/resin-3.0/quercus/tutorial/module/hello.phphttp://quercus.caucho.com/quercus-3.1/examples/quercus-module/hello.php无法正常工作。

Can somebody help me with this problem? 有人可以帮我解决这个问题吗? Thank you. 谢谢。

Reference: 参考:
http://www.caucho.com/resin-3.0/quercus/tutorial/module/index.xtp http://www.caucho.com/resin-3.0/quercus/tutorial/module/index.xtp
http://quercus.caucho.com/quercus-3.1/doc/quercus.xtp#module http://quercus.caucho.com/quercus-3.1/doc/quercus.xtp#module

Step 3: Create com.caucho.quercus.QuercusModule and place it in $webApp/WEB-INF/classes/META-INF/services example.HelloModule 步骤3:创建com.caucho.quercus.QuercusModule并将其放置在$ webApp / WEB-INF / classes / META-INF / services示例中。

Means you need to create a file named com.caucho.quercus.QuercusModule and put it into $webApp/WEB-INF/classes/META-INF/services folder, the content should be example.HelloModule. 意味着您需要创建一个名为com.caucho.quercus.QuercusModule的文件并将其放入$ webApp / WEB-INF / classes / META-INF / services文件夹中,内容应为example.HelloModule。 The documentation is really not clear :( 该文档确实不清楚:(

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM