How to serve a php or htc file using vaadin ? I am needing PIE.htc

Hi

I would like to use PIE.htc to fix IE 6+ borders of some of my layout components (using customLayout) but I cannot make vaadin return the .htc file to the browser…

How can I tell vaadin or map in the web.xml that vaadin should not respond to requests that have .htc as their extension ?

Thanks !

Hi,

There are several options. Most obvious is to serve the htc file outside Vaadin web app. In Vaadin you could add it as a static file into your theme or widgetset. Also you can use URIHandler to serve any file (either generated or static).

http://vaadin.com/book/-/page/advanced.resources.html

cheers,
matti