From: Jost B. <jos...@ya...> - 2005-10-30 11:30:53
|
Hi again, > > Is there some configuration I need in my web.xml > > file to tell the > > Servlet how to connect back through the Apache > > service? I just noticed that you may want to include the php script, i.e. call out to php from a standard java class or servlet. I think you know about the req.redirect(...), which would redirect the request to the apache port. However, I am currently working on full jsr223 integration: The implementation allocates a php instance from the apache pool by opening a URLconnection passing it the current java continuation (a thread). The allocated php instance in turn connects back to the java continuation passing it the proxy allocated with java_closure(). The allocated script is stored in the javax.script.ScriptEngine when the user calls scriptEngine.eval(<phpScript>). He/she can call out to the php script by using the methods from javax.script.Invocable. I likely have misunderstood your question and the previous answer was sufficient. :) If not, a preview of PHP/Java Bridge version 3.0 will be available next week. Regards, Jost Boekemeier ___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 1GB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de |