You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "DATAS, Bertrand" <be...@capgemini.com> on 2007/07/18 11:45:14 UTC
Include a jspf into a template
Hello,
I am trying to include a JSPF file into a velocity template with the
TileTool, the inclusion works but not JSP tags don't. Is it a normal
behaviour ? I can't see any documentation about this. I was thinking it
was possible.
If it is normal behaviour do you know a tool that can provide me this
functionnality.
Best Regards
Bertrand DATAS
Capgemini Telecom France <ma...@capgemini.fr>
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Re: Include a jspf into a template
Posted by Nathan Bubna <nb...@gmail.com>.
The TilesTool (and it's parent ImportTool) work largely by creating
"sub-requests" to the files or pages being included. So, if a JSPF
file is being included as plain text, it is likely because the servlet
that handles the request for that file doesn't know to treat *.jspf
files as JSP. Just map the *.jspf url-pattern to your JspServlet and
that should get things working.
On 7/18/07, DATAS, Bertrand <be...@capgemini.com> wrote:
>
> Hello,
>
> I am trying to include a JSPF file into a velocity template with the
> TileTool, the inclusion works but not JSP tags don't. Is it a normal
> behaviour ? I can't see any documentation about this. I was thinking it
> was possible.
> If it is normal behaviour do you know a tool that can provide me this
> functionnality.
>
> Best Regards
>
> Bertrand DATAS
> Capgemini Telecom France <ma...@capgemini.fr>
>
>
> This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org