Dear Konstantin, Nice solution! I like it very much! It is the best for me. I am going to use it!
Thank you very much! regards, SoMa On Dec 30, 2007 11:04 PM, Konstantin Breu <[EMAIL PROTECTED]> wrote: > I have a similar servlet - when the client requests some file, for example > script.js, the servlet looks for script.js.template (<filename>.template), > if it exists it is processed as template, else the servlet looks for > script.js, and does the static output, without template processing. So I can > replace any static text file (html, css, js,...) by a template version, > without having to modifiy the url to be used by the client. > > In my solution it would also be possible to use different (template) > processing engines - for example use <filename>.vm for velocity templates, > and other extensions for other enginges. But so far I'm only using > velocity... > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
