Hi I am using ajax <s:div> tag in <s:iterator> tag to get status on systems
at the time of loading but when i am doing this through AJAX then <s:div>
tag sending continuous request and at once time my explorer gives system
error.

There are 3 elements(systems) in my list so at the time of iterating three
ajax request would be generate but instead contious request is generating
and whole page is loading in <s:div> tag. but i want only image in place of
div tag.

so please help me to solve this problem.

I am here giving code within <s:iterator> tag of my  working JSP.


<s:iterator status="systemStatus" value="systemList">
   <td width="20%" height="84">
      <s:url id="editsystem" action="
getSystemInfoSystemManagementAction.action">
             <s:param name="systemName" value="%{systemName}"/>
             <s:param name="systemIP" value="%{systemIP}"/>
     </s:url>
     <s:url id="systemstatus" action="SystemStatusAction.action">
           <s:param name="systemName" value="%{systemName}"/>
     </s:url>
   <p>
      <img id="indicator${systemStatus.count}" src="images/sys_load.gif" alt
="Loading Info" style="display:none"/>
        <s:div theme="ajax" href="%{systemstatus}" indicator="indicator${
systemStatus.count}">
          <s:a href="%{editsystem}" cssClass="homelink"
onmouseout="MM_swapImgRestore()"
onmouseover="MM_swapImage('Image${systemStatus.count}','','${
hoverImagePath}',1)"><img src="${imagePath}" name="Image${systemStatus.count}"
width="61" height="61" border="0"><br>
        <s:property value="systemName"/></s:a>
       </s:div>
   </p>
 </td>
 <s:if test="#systemStatus.count % 5 == 0">
 </tr>
 <tr>
     <td align="center" valign="bottom">&nbsp;</td>
 </tr>
<tr align="center" valign="middle">
</s:if>
</s:iterator>
 Thank you,
 Vijay

Reply via email to