I had a
JSP page where <form id="frmCreateMain" name="frmCreateMain" method="post" action="matchToPreexisting.jsp" target="addrstand"> has call to the database, which is causing the delay in sending a XML response back which is getting parsed on everykey stroke which is time consuming. So, some how I need to get this delay reduced.
Here the scenario works like below:
The front end is the JSP Page that is displayed to the normal user.
Any thing that is displayed on the GUI, that might be either label or the text box or might be any thing is being populated from XML file.
The underneath XSL file is generating the HTML file based on the XML at the GUI.
And my understanding of the code is correct and sure.
So, if some one can help me in giving me the idea why in the GUI it displays characters or numbers after a while. The amount of delay is significant and can be seen even by the normal user. This is the reason only, why I am thinking how to code in such a way that, getting all the elements of the xml document initially when the page first loads (or something like that) and store the elements in CustomerCreate JavaScript data structure. So that, for subsequent access you can access from that data structure rather than invoking the xml parsing api every time .