Re: include with absolute path
| Newsgroups | gmane.comp.jakarta.velocity.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks. -------- Original-Nachricht -------- > Datum: Tue, 12 Jun 2012 15:27:24 +0200 > Von: Claude Brisson <[email protected]> > An: "Velocity Users List" <[email protected]> > CC: [email protected] > Betreff: Re: include with absolute path > TEMPLATE_ROOT is precisely here to enforce a minimum of security when > using the FileResourceLoader, and is not meant to allow to reach files > located elsewhere. > > If you have access to the Velocity configuration, you can add a second > resource loader with a TEMPLATE_ROOT that points to C:\Users\me. > > Claude > > On Tue, 12 Jun 2012 15:16:10 +0200 > [email protected] wrote: > > > Hello, > > > > how can I include files, that aren't located under TEMPLATE_ROOT? > > These did not work: > > #include("file:C:\\Users\\me\\include\\place\\my.properties") > > #include("C:\\Users\\me\\include\\place\\my.properties") > > #include("C:/Users/me/include/place/my.properties") > > > > Kind regards, > > Kieran > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de