this is my mxml file :: --------------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="realData.send()"> <mx:HTTPService id="realData" url="http://localhost:8080/real/test.jsp"/> <mx:DataGrid x="63" y="53" id="sfssfs" dataProvider="{realData.lastResult.response.data.row}"> </mx:DataGrid> </mx:Application>
---------------------------------------------------------------- i am using jsp as dataprovider, now i want to refresh the page per 5 seconds, so that the jsp is called per 5 sec. and pull the updated data from database. database is being updated regularly by other application.