Hi,

this is a snipplet of my appcontext file:
Code:
	<bean id="freemarkerConfig" class="org.springframework.web.servlet.view.freemarker.FreeMarkerConfigurer">
		<property name="templateLoaderPath" value="/WEB-INF/lib/"/>
		<property name="freemarkerSettings">
			<props>
				<prop key="datetime_format">MM/dd/yyyy</prop>
			</props>
		</property>
	</bean>

	<bean id="viewResolver" class="org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver">
		<property name="exposeSpringMacroHelpers" value="true"/>
		<property name="requestContextAttribute" value="rc"/>
		<property name="prefix" value="/"/>
		<property name="suffix" value=".ftl"/>
	</bean>
i'm trying to acces like this:
Code:
<#import "/spring.ftl" as spring/>
my spring.jar is on the folder WEB-INF/lib/

somehow nothing is working i'm trying every combination or changes but somehow i miss something i think.
if i do something like this:
Code:
<#import "/WEB-INF/mod.ftl" as m>
and have a file mod.ftl on this folder it works.
i'm using struts 2 and spring 2.0