thanks for the answer, but (included in the message) Rodney Schneider wrote: On Wed, 2 Oct 2002 22:26, you wrote:
> hello, > > a fellow worker in my company tryed to have two turbine servlet defined > in the same webapp (two entries in the web.xml file) giving each of > them a different TurbineResources.properties (ie two files w/ > different names) but when he tried to acces the servlets, that was > always the same one (the first described) that was chosen. > > do you know how to get rid of that unusefull demeanor ? This may have something to do with the fact that the Turbine services (such as TurbineResourceService) are singletons. RPI> that what i though too > the two servlets answers, one w/ html and the other w/ vxml > > if we can chose for each screen if it is html or vxml then we could > have all run in one servlet. The Turbine servlet was designed to handle multiple output types, so you will be able to do this with a single servlet. See some of the services that come with Fulcrum: http://jakarta.apache.org/turbine/fulcrum/ In particular, see Template Service, Velocity Service, JSP Service and XSLTService. They will give you a good idea of how to proceed. RPI> ican not use fulcrum as the choice to use the 2.1 version of turbine is made by some "choosers" upon me in the hierarchie. (as 2.1 is "stable" and 2.2 not yet realeased.) RPI> and 2.1 defines the rundata and we patched the rundata for it to produce vxml with '<vxml>' tag instead of '<html>' tag. in turbine2.1 the choice of the vxml or html page is in the rundata. It would be great if you could write a generic VXMLService and submit it to the Fulcrum project. Regards, -- Rodney ------------------------------------ | Rapha�l Pi�roni | | 33+ 223 351 354 | | mailto:[EMAIL PROTECTED] | | http://www.dexem.com | | mailing:[EMAIL PROTECTED] | ------------------------------------ --------------------------------- Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en fran�ais !
