Why has two requests as used DataProcessor

my code:
mygrid.loadXML(“myAction.do”, function() {

var mydp = new dataProcessor(“myAction.do”);
then,I refresh my page,it’s has two requests in one refreshed.

Why?How can I do,it’s only one’s request.

Check the server side code
It seems you have a dynamic loading enabled, and during the first loading call, server side returns only 50 rows of data which is not enough, so client side asks extra data.

You can change the amount of rows that is loaded during the initial data loading, or fully disable the dynamic loading feature ( in such case all data will be loaded as part of the first request )