passing a variable from jsp to javascript
Does anyone know of a tag library or something else which allows one to do the equivalent of:
<jsp2js jspVar="${myJspVar}" jsVar="myJsVar" />
where the result would be a javascript assignment statement in the html which sets myJsVar equal to the value of myJspVar. I know there are some simple solutions for things like strings, ints, etc. but I have some multi-dimensional arrays, and would prefer not to have to code out something like this manually.

