|
From: Matt R. <li...@ra...> - 2004-07-26 16:30:09
|
> -----Original Message----- > From: spr...@li...=20 > [mailto:spr...@li...] > On Behalf Of Darren Davison > Sent: Saturday, July 24, 2004 2:11 AM >=20 > On Saturday 24 July 2004 01:13, Matt Raible wrote: >=20 > > FYI... > > > > This doesn't work: > > > > <#import "spring.ftl" as spring /> >=20 > hmm.. it works ok for me. I just tried a build from last night and I still get the same behavior. My FreeMarker templates are in WEB-INF/freemarker, my "templateLoaderPath" (on FreeMarkerConfigurer) is "/". Here is the error I get: WEB-INF/freemarker/spring.ftl javax.servlet.ServletException: Error reading imported file WEB-INF/freemarker/spring.ftl at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServle t.java:338) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) Matt >=20 > > But this does: > > > > <#import "/spring.ftl" as spring /> > > > > Just thought it should be documented. >=20 > - --=20 > Darren Davison > Public Key: http://www.davison.uk.net/pages/key.htm > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) >=20 > iD8DBQFBAhmMKLMLAN01aw0RAuNlAKCJkf8+pnwIP4Bt31VwninHric7jgCeIA7v > w/4rPbU0TC06WZLKkIzVczw=3D > =3DWfZk > -----END PGP SIGNATURE----- >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today.=20 http://ads.osdn.com/?ad_idG21&alloc_id=10040&op=CCk _______________________________________________ Springframework-developer mailing list Spr...@li... https://lists.sourceforge.net/lists/listinfo/springframework-developer |