title: Using JSP code in JavaScript
body: <p>I want to use JSTL's fmt tag in JavaScript to localize my alert messages.
  My JavaScript file is a standalone file and when I include fmt tag in js, the file browser gives JavaScript errors. Is it possible to treat <code>.js</code> file as <code>.jsp</code> files using web.xml configuration?
  Can anyone please suggest how can I do that?</p>