These are mutally exclusive.
I am using a third-party application which allows me to place my scripts only in a single file, common.js. I want to place the same file on each of my installations. However, I'd like scripts in common.js to refer to variables which will have installation-specific values.
What is the best way to accomplish this, given my constraints.
Actually, since this is a sever-side issue, and because this original is over 4 years old, I'm going to ask you to re-post your request for examples in the JSP or servlets forum. It's rather off-topic for this one, and I can't move this older post.