You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Ben Short <be...@benshort.co.uk> on 2009/11/12 12:27:26 UTC
Include output from another servlet
Hi,
Using jsp I can include the output of another servlet using the following
<jsp:include page="/another/servlet"/>
Can the same thing be done with velocity?
Regards
Ben
Re: Include output from another servlet
Posted by Nathan Bubna <nb...@gmail.com>.
With Spring MVC? Yeah, i have that running in an app somewhere, not
sure offhand. Did you have particular questions?
On Tue, Dec 15, 2009 at 6:44 AM, Ben Short <be...@benshort.co.uk> wrote:
> Thanks for this information.
>
> Has anyone had any luck getting velocity tools 2 working with spring?
>
> 2009/11/12 Antonio Petrelli <an...@gmail.com>:
>> 2009/11/12 Ben Short <be...@benshort.co.uk>:
>>> Using jsp I can include the output of another servlet using the following
>>>
>>> <jsp:include page="/another/servlet"/>
>>>
>>> Can the same thing be done with velocity?
>>
>> Try with the import tool:
>> http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/ImportTool.html
>>
>> Ciao
>> Antonio
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> For additional commands, e-mail: user-help@velocity.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org
Re: Include output from another servlet
Posted by Nathan Bubna <nb...@gmail.com>.
With Spring MVC? Yeah, i have that running in an app somewhere, not
sure offhand. Did you have particular questions?
On Tue, Dec 15, 2009 at 6:44 AM, Ben Short <be...@benshort.co.uk> wrote:
> Thanks for this information.
>
> Has anyone had any luck getting velocity tools 2 working with spring?
>
> 2009/11/12 Antonio Petrelli <an...@gmail.com>:
>> 2009/11/12 Ben Short <be...@benshort.co.uk>:
>>> Using jsp I can include the output of another servlet using the following
>>>
>>> <jsp:include page="/another/servlet"/>
>>>
>>> Can the same thing be done with velocity?
>>
>> Try with the import tool:
>> http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/ImportTool.html
>>
>> Ciao
>> Antonio
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
>> For additional commands, e-mail: user-help@velocity.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org
Re: Include output from another servlet
Posted by Ben Short <be...@benshort.co.uk>.
Thanks for this information.
Has anyone had any luck getting velocity tools 2 working with spring?
2009/11/12 Antonio Petrelli <an...@gmail.com>:
> 2009/11/12 Ben Short <be...@benshort.co.uk>:
>> Using jsp I can include the output of another servlet using the following
>>
>> <jsp:include page="/another/servlet"/>
>>
>> Can the same thing be done with velocity?
>
> Try with the import tool:
> http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/ImportTool.html
>
> Ciao
> Antonio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org
Re: Include output from another servlet
Posted by Antonio Petrelli <an...@gmail.com>.
2009/11/12 Ben Short <be...@benshort.co.uk>:
> Using jsp I can include the output of another servlet using the following
>
> <jsp:include page="/another/servlet"/>
>
> Can the same thing be done with velocity?
Try with the import tool:
http://velocity.apache.org/tools/devel/javadoc/org/apache/velocity/tools/view/ImportTool.html
Ciao
Antonio
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org