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.

> 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.

It would be great if you could write a generic VXMLService and submit it to 
the Fulcrum project.

Regards,

-- Rodney

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to