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 Le vendredi 28 décembre 2007 à 09:30 +1000, Arnold Somogyi a écrit : > Thank you! This solution is nice but... > > I wrote in my 1st letter: > > I made a servlet which catch the all http/https *.js request and > > replace all velocity tokens with real values from a database. > > So, my servlet catch the all *.js request. > If I use this row <script src="jquery.js"></script> in my html page > then my servlet will catch the original jquery.js file and it try to > switch all $ tags. And in the jquery.js source code has a lots of $ > symbols. > > Other thought? > > I konw, I am a complicated man :)) > > SoMa > > > > On Dec 28, 2007 1:59 AM, csanders <[EMAIL PROTECTED]> wrote: > > You can use noConflict() mode for jQuery so it doesn't use the $ symbol. > > > > http://docs.jquery.com/Using_jQuery_with_Other_Libraries > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
