On 1/27/06, Nicolas De Loof <[EMAIL PROTECTED]> wrote: > > >I must be mis-understaning something somewhere - this looks like your > >using this to cache on the server side only - including the above in > >your page - rather than on the browser side? > > > >Niall > > > > > I include a cache-control HTTP header so that the browser can cache the > file. > Having static javascript in a single .JS file will be great, but how do > we have to include it in the webapp ? > If this is part of commons-validator.jar I'll have to manually extract > it and add it to my webbapp ! Notice I'm using maven, so > commons-validator is automatically added to my weapp. I just have a > property to change to upgrade to a newer version.
Its not going to be in the jar - it'll be in the binary distro alongside the jar, so as well as commons-validator-1.2.1.jar there will also be: commons-validator-1.2.1.js commons-validator-1.2.1-compress.js Currently the maven build of commons validator creates these scripts, but its not available in the nightly build which uses the ant build script. Niall --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
