|
From: <php...@li...> - 2007-07-26 09:23:29
|
Hi Jost, >do you want to call a servlet from another web application or a different container? > > i dont know exacly what you mean with another web application. I have a Apache / Tomcat (mod_jk). First webapp is a pure php-system (typo3 cms). The requests is not forwarding via mod_jk to the tomcat. In this webapp i install the bridge (WebInf Folder and java folder from the JavaBridge.war). The second app is located in the tomcat. All requests (/jsp) goes via mod_jk to the context in the tomcat. The second app implements a HttpServlet. Every request from the first app (typo3 cms) should be also call the doGet Method in the second Application. This method retrieve the parameters and use it. But the response is generated by the first app, the cms system. regards Jörg >The former is possible by using the RequestDispatcher, please see >http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/RequestDispatcher.html > > >Regards, >Jost Boekemeier > > > > Heute schon einen Blick in die Zukunft von E-Mails wagen? Versuchen Sie´s mit dem neuen Yahoo! Mail. www.yahoo.de/mail > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. >Still grepping through log files to find problems? Stop. >Now Search log events and configuration files using AJAX and a browser. >Download your FREE copy of Splunk now >> http://get.splunk.com/ >_______________________________________________ >php-java-bridge-users mailing list >php...@li... >https://lists.sourceforge.net/lists/listinfo/php-java-bridge-users > > > |