You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by John Doe <Lo...@gmx.net> on 2006/11/30 14:20:59 UTC

Want to read JSPs

Hello, everyone

There's a serious question I have. How can I import JSPs into my *.vm templates? I want to read them. I've read about the velocity-import-tool, which grants access to a read()-method.
Using it in velocity templates should look like this:
    
    $import.read("http://www.mypage.com/bla/myJSP.jsp")

Has anyone tried or knows how to include JSPs in the Roller templates?
Or tried successful to install that velocity-import-tool stuff in Roller? 
If so, it would be great to help me out!
Thanks & cu 
 
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

Re: Want to read JSPs

Posted by Dave <sn...@gmail.com>.
Problem is, Roller tightly controls what objects are placed in
Velocity context. See my response to your earlier email for a
suggestion about adding your own "model objects"

- Dave



On 11/30/06, John Doe <Lo...@gmx.net> wrote:
> Hello, everyone
>
> There's a serious question I have. How can I import JSPs into my *.vm templates? I want to read them. I've read about the velocity-import-tool, which grants access to a read()-method.
> Using it in velocity templates should look like this:
>
>     $import.read("http://www.mypage.com/bla/myJSP.jsp")
>
> Has anyone tried or knows how to include JSPs in the Roller templates?
> Or tried successful to install that velocity-import-tool stuff in Roller?
> If so, it would be great to help me out!
> Thanks & cu
>
> --
> Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
> Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
>