Include Apache SSIs in JSPs using Prototype


/ Published in: JavaScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ['/path/to/include.incl'].each(function(url) {
  2. new Ajax.Request(url, {
  3. asynchronous: false,
  4. onComplete: function(request) {
  5. document.write(request.responseText);
  6. }
  7. });
  8. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.