|
how to contact servlet from clientside through ajax
i am able to the fetch the data's from the database through ajax when i am
using the url in open method of Ajax :
[ url="http://localhost:8084/budgetamountentry/controllerservlet?Qryid=1&Qrystr=Branches";
request.open("Get",url,true); ]
but when i am deploy the war file in server and run the page from the other host using the url as :
[ url="http://172.16.10.86:8084/budgetamountentry/controllerservlet?Qryid=1&Qrystr=Branches";
request.open("Get",url,true); ]
sometimes i am not able to fetch the data's fromthe database or My NetBeans Editor shows error message as "Httprequest is not recorded
since HttpMonitor is disabled"
kindly advice me how to contact with servlet from ajax.
Last edited by santhoskumara : 08-08-2007 at 09:58 PM.
|