Hi All,

I am developing an application using Tapestry 5.3.1

I have tried to use MVC resources mapping to cache images, But it seems doesn't works

Here my coding:

_Context xml configuration:_

mvc:resources mapping="/images/**" location="file:${catalina.home}/props/" cache-period="1234" />
<mvc:annotation-driven />

_Index.tml:_

<img src="/images/home.jpg"  width="130" />


I have this home.jpg file in tomcat catalina home path props folder.

Application runs successfully, but the images are not loaded

Can anyone help me?


Regards,
Rathinasamy.

Reply via email to