Thank you people,
It works finally, I type the code here for in case is useful for other one:

    var $linesMap=new Array();

    $(document).ready(function() {
        var $arr;
        &lt;s:iterator value="objects" var="item" status="stat"&gt;
            $arr=new Array();
            &lt;s:iterator value="item" var="item2" status="stat2"&gt;
                $arr.push(['${item2[0]}','${item2[1]}']);
            &lt;/s:iterator&gt;
            $linesMap.push($arr);
        &lt;/s:iterator&gt;
        });


Then I can use $linesMap in the javascript code :)

Thank you very much,
Aleix

struts2+spring3: passing a variable from action to jsp (javascript code)
How can I capture or list all queries that use hints and have executed since the last instance restart? 

I am using SQL Server 2005 Standard Edition.
