filter mapping in Tomcat6
I created a filter and its mapping in my applications web.xml. This is running in Tomcat6. My application is using the Tiles framework. filter filter-namefiltername/filter-name filter-classorg.springframework.web.filter.DelegatingFil terProxy/filter-class /filter filter-mapping filter-namefiltername/filter-name url-pattern/*/url-pattern dispatcherREQUEST/dispatcher /filter-mapping Instead of passing through the filter once, it calls it for every single include on the page i.e. every single tile even though I have only request in my dispatcher property and not include or forward. Any ideas why this is happening? -- View this message in context: http://www.nabble.com/filter-mapping-in-Tomcat6-tp25244034p25244034.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
filter mapping in Tomcat6
I created a filter and its mapping in my applications web.xml. This is running in Tomcat6. My application is using the Tiles framework. filter filter-namefiltername/filter-name filter-classorg.springframework.web.filter.DelegatingFil terProxy/filter-class /filter filter-mapping filter-namefiltername/filter-name url-pattern/*/url-pattern dispatcherREQUEST/dispatcher /filter-mapping Instead of passing through the filter once, it calls it for every single include on the page i.e. every single tile even though I have only request in my dispatcher property and not include or forward. Any ideas why this is happening? -- View this message in context: http://www.nabble.com/filter-mapping-in-Tomcat6-tp25244035p25244035.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
RE: filter mapping in Tomcat6
From: r9973 [mailto:r9...@yahoo.com] Subject: filter mapping in Tomcat6 Instead of passing through the filter once, it calls it for every single include on the page i.e. every single tile Turn on Tomcat's AccessLogValve or monitor the traffic between the browser and Tomcat with Wireshark or equivalent. I suspect you'll see the browser generating a separate request for each tile. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org