I have thought on a good solution but I did not find it. The best solution will be for me that to replace the $ character with other one (fox example _$_). But I think it is a impossibble mission.
I have three fictitious solutions: (1) I should use different extension for templatized js files. Is is practicable but I think it is not too nice solution because standard extension of Java Script files is js. Not other one. (2) I should use different directories for templatized js files. It is not good for me because I use another file structure in my web app. (3) I should make a exception list with filenames in my servlet. These files will not be process with Velocity. My problem with this solution that I have to append this list sometime and I have to modify the java source code. I do not find the best solution too... On Dec 28, 2007 11:07 AM, Claude Brisson <[EMAIL PROTECTED]> wrote: > You should use different extensions for files, like *.js and *.html for > standard files (served by apache or tomcat or whatever) and different > extensions for templatized files. Or use different directories. > > Anyway, having velocity interpret non-templatized files is bad design. > > Claude > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
