From: <php...@li...> - 2007-07-26 10:33:59
|
Hi Jörg, first of all thank you very much for your feedback. > i dont know exacly what you mean with another web application. I assumed that you wanted to connect your framework (typo3) with another, java-based framework running in a different web context, but within the same tomcat container. > 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. 1) So you have typo3 running in the Apache front-end connected to an associated back-end running in tomcat. 2) A second, unspecified application is running in tomcat, associated with the Apache front-end via mod_jk. The second application should parse the request parameters and call the first application which should generate the response. Isn't it possible to direct all requests to the second app and then use requestDispatcher.forward(...) to let typo 3 generate the response? The call graph would be: apache --mod_jk-> tomcat app#2 --forward-> php/java bridge -> response Regards, Jost Boekemeier dddd |