Sure it's possible. Since PHP and Ruby pages are invoked by URIs, all you'd have to do is create a link or a forward that specifies a Ruby or PHP URI. In the case of a forward, it would be mandatory to specify redirect="true" and specify the full URI including the "http://". Just be aware, though that any information you pass would have to be in the form of parameters. You wouldn't be able to pass information via the request or session objects like you're used to in Struts.
thank you Merrill, is it a good practice to have this integration or is it consider as not recommended. also, do you know any tutorial that does this mix
Joined: Feb 15, 2005
If you're creating a web application from scratch, I'd say it's definitely not a good idea to mix technologies like that. It's often necessary, though, to interface with applications that have already been built in another technology. In this case it's sometimes better to make your Struts application interface with the existing application rather than doing a complete rewrite of the other application.
Sorry, I don't know of any tutorials that address this issue.
subject: integrate sturts application with PHP/Ruby