How to fill values in an array in to table row's textboxes
<p>My code is like this -</p>

<pre><code>&lt;table border="0" cellspacing="2" cellpadding="2" width="99%" id="subAccTable"&gt;
        &lt;tr&gt;
               &lt;h2&gt;Sub Accounts&lt;/h2&gt;
        &lt;/tr&gt;

        &lt;tr&gt;
            &lt;th&gt;action &lt;/th&gt;
            &lt;th&gt;account&lt;/th&gt;
            &lt;th&gt;homeDir&lt;/th&gt;
            &lt;th&gt;primaryGroup&lt;/th&gt;
        &lt;/tr&gt;

    &lt;tr&gt;
        &lt;td&gt;&lt;input type="hidden" name="vtierId" value="&lt;%=vtierId%&gt;" /&gt;&lt;/td&gt;
        &lt;td&gt;&lt;input type="text" name="subAcc"
                value="&lt;%= (String)subAccountUtil.getSubAccountName().get(i) %&gt;"/&gt;&lt;/td&gt;
            &lt;td&gt;&lt;input type="text" name="subHomeDir"
                value="&lt;%= (String)subAccountUtil.getSubAccountHomeDir().get(i) %&gt;"/&gt;&lt;/td&gt;
            &lt;td&gt;&lt;input type="text" name="subPriGroup"
                value="&lt;%= (String)subAccountUtil.getSubAccountPrimaryGroup().get(i) %&gt;" /&gt;&lt;/td&gt;

&lt;script&gt;
                var saveObj = new ajax();
        form.action.value = "populate";
        var queryString = "action="+form.action.value+"&amp;vtierSelectedValue="+vtierSelectedValue+"&amp;vtierSelectedName="+vtierSelectedName ;
        saveObj.onCompletion = function() {
            var obj = saveObj.response;
            alert(obj);
            var objArr = obj.split(",");
            }
             saveObj.form = form;
    saveObj.requestFile = "account.do";
    saveObj.runAJAX(queryString);

&lt;/script&gt;
</code></pre>

<p>Now i want to populate the table rows here with the values in the array objArr which contains values like 1234  ,   ~  ,   tedtds   ,    tedtds     etc.
How can i fill values in this array to the textboxes in my table rows?
Currently the textboxes takes the value from scriptlets which i don't want ?</p>
