tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hassan Schroeder <>
Subject Re: [OT] Setting no-cache headers for javascript
Date Thu, 07 Oct 2004 11:44:28 GMT
Antony Paul wrote:

>    How to add no-cache header to a javascript file which is set in the html as 
> <script src="scripts/hello.js"<</script>. 

Either make your JavaScript file a JSP, or use a Filter. (The first
is quicker, the second's more scalable if you might want to do this
with multiple JS files...)

Hassan Schroeder -----------------------------
Webtuitive Design ===  (+1) 408-938-0567   ===

                           dream.  code.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message