hi..i hav hav retrieved the value from servlet using ajax and now i want to show that value in table in jsp..how can i do that..below is the code of ma solution..thank u in advance...


java scirpt

Java Code:
function callbackUsername() {
    
    if (req.readyState==4) {
     
        if (req.status == 200) {
                //currently ir prints in the document without any problem..i want to print this in ma table..
           document.write(req.responseText);
           
          
        
        }
        else
        {
        	
        }
  }
-----------------------------------------
table in jsp
--------------------------------------
XML Code:
<FORM name="myForm" Action="MyServlet" METHOD="Post">
	
 
<table width="100%" height="360" border="0" align="left"bgcolor="#EAEEFB" hspace="0" vspace="0">
	
    <tr bgcolor="#5C92EB">
      <th width="50" scope="col"><span class="style2">UserName</span></th>
      <th width="50" scope="col"><span class="style2">First Name</span></th>
      <th width="50" scope="col"><span class="style2">Last Name</span></th>
      <th width="50" scope="col"><span class="style2">E-Mail</span></th>
    </tr>
<tr bgcolor="#5C92EB"><td><center>"_*I WANT TO SHOW THE VALUE HERE*_"</td></tr><%	
	
  </table>