Jump to content
tea

Ajax(Access data from HTTP servlet using AJAX in JSP)

Recommended Posts

I have a coded servlet already in HTTP url. I want to access and display the data from (http url) servlet to my new JSP within <div>

 

here is the more details :https://gist.github.com/theakathir/f6fb390d35b451a57958aa0d3cf05330 about the servlet content.

I am very new Ajax,. All i want to do in, In my new jsp page i will have a button to click which will access the data from the http url (servlet) using Ajax.

Can someone direct me with some reference to start with.. It would be helpful Thanks.

 

Share this post


Link to post
Share on other sites

Ingolme just discussed this topic in a Php thread. You would use the same Javascript but direct it to your servlet url.

AJAX_PHP

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...