Two Laptop Bag
The moose likes Other Application Frameworks and the fly likes refreshing part of a JSP page without reload - kind of AJAX Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "refreshing part of a JSP page without reload - kind of AJAX" Watch "refreshing part of a JSP page without reload - kind of AJAX" New topic
Author

refreshing part of a JSP page without reload - kind of AJAX

sai kinnera
Ranch Hand

Joined: Aug 12, 2004
Posts: 52
Hi,
I have a main JSP for display of about 1000 records which is displayed fine
using a display table. I have another JSP included in this JSP which just gives the user a warning message (no of records also)using html:error tag.
<tr valign="top">
<td width="100%" colspan="5">
<div align="center">
<html:error/>
</div>
</td>
</tr>

For the 1000 records, I call the database once and for number of total records(generally>1000), I make another database call. As both the calls involve around 9 table joins, the page loading is taking a lot of time. I want to make 2 different actions for both the calls and refresh the message part after the page is loaded with the first query. I do not know if I can use AJAX for this. Can anybody help. Thanks in advance.
Sai Kinnera
 
 
subject: refreshing part of a JSP page without reload - kind of AJAX
 
Threads others viewed
jsp:include and c:import combination/nesting
refreshing part of the JSP page without reload-kind of AJAX
refreshing part of JSP page without reload - kind of AJAX
using ajax and struts iterate tags
servlet or jsp page with prefilled forms
IntelliJ Java IDE