Struts won't do substitutions for code in a .js file - the struts processor won't see the struts references or change them.

Paul