It seems that in all the docs and samples, the choosen policy is to call
the template files foo.vm, not including in the filename any information
about the targeted mime type. But I think this is a bad practice and
I've always preferred different policies, like "foo.js.vm".

There is a related topic which is the url resolution process: by
overloading the servlet.getTemplate() method, you can for instance have
urls of the form /foo.js : getTemplace() first tries to get a foo.js and
then foo.js.vm, or the contrary).

Survey: Which convention do you use? And do you think we should change
the docs so that newcomers get good habits?

If you agree I'll create a bug report about it.

--
Claude



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to