Re: How to use Spring MVC resources static images in tapestry

2013-05-17 Thread Lance Java
Of course you need to map spring's servlet / filter (whatever it is) to a url pattern in web.xml. Unfortunately the current generation of servlet containers are not mind readers :) This question is now off topic, please continue on an appropriate spring mailing list.

Re: How to use Spring MVC resources static images in tapestry

2013-05-17 Thread rathinasamy....@snovabits.net
Do I need to add any spring specifications in web.xml for this? On 5/17/2013 12:04 PM, Lance Java wrote: Does your webapp have a context path? You may need to use - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.o

Re: How to use Spring MVC resources static images in tapestry

2013-05-16 Thread rathinasamy....@snovabits.net
_ApplicationContext.xml:_ location="file:${catalina.home}/props/" cache-period="1234" /> _VideosModule.java:_ public static void contributeIgnoredPathsFilter(Configuration configuration) { configuration.add("/images/.*"); } _Index.tml:_ _Index.java:_ @Inject private HttpSer

Re: How to use Spring MVC resources static images in tapestry

2013-05-16 Thread Lance Java
Does your webapp have a context path? You may need to use

Re: How to use Spring MVC resources static images in tapestry

2013-05-16 Thread rathinasamy....@snovabits.net
I have added the "/images" path to this contributeIgnoredPathsFilter, however it does not works. On 5/16/2013 8:24 PM, Lance Java wrote: You will need to tell tapestry to ignore the "/images" path so that another servlet (spring) can handle it. http://tapestry.apache.org/configuration.html#Con

Re: How to use Spring MVC resources static images in tapestry

2013-05-16 Thread Lance Java
You will need to tell tapestry to ignore the "/images" path so that another servlet (spring) can handle it. http://tapestry.apache.org/configuration.html#Configuration-ConfiguringIgnoredPaths

How to use Spring MVC resources static images in tapestry

2013-05-16 Thread rathinasamy....@snovabits.net
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" />