Combining Javascript File through a Servlet
800321Sep 6 2009 — edited Sep 11 2009I have a bunch of javascript file which exist on my web server so what I want to do is instead of loading each one on every page slowly with 10 script tags I want to write a servlet which merges them together and then sends them out to the browser. My problem is I can not find any way through code to access these JS files. I need to use streams so things like a JSP include are out of the question.