i need to call a servlet from javascript by using ajax post method and also need to send some parameters to that servlet. How can i do that. I have spent too much time to get rid of this but still no luck…! All help appreciated…..Please help
Share
using jQuery is very easy…
this is method post
first
param: servlet urlsecond param:
paramsthird
param: callbackthe last param:
response dataformat (“json”,”xml”…)