• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

AJAX XMLHttpRequest sample project

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hope this is the right forum for this question. I am new to AJAX. I dug in quite a bit trying to find a simple but complete AJAX web client project to use as a project template but to no avail.

I am using Java/Jsp in Eclipse. All I wanted to do is to be able to type an URL on a browser and see my AJAX client App's HOME page. On the HOME page, I would have a Text Box for user to put in an HTTPRequest in XML (for now) and if the SEND button is pressed, the request will be sent to a Server. When the Server sends a response in XML, the AJAX App should decode this response and put the values on a web page for display.

Very basic and simple. Code fragments did not help me in this case. Can someone please direct me as to where to get such a sample project?

Any help will be greatly appreciated.
 
Sheriff
Posts: 7394
1412
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Mimi Tam wrote:Hope this is the right forum for this question.


Sorry, but it isn't related to EJB. I'm moving this to the HTML/JavaScript forum for you.
 
Devaka Cooray
Sheriff
Posts: 7394
1412
IntelliJ IDE jQuery Eclipse IDE Postgres Database Tomcat Server Chrome Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This article might help you to start.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What about the code fragments didn't help? You're basically *asking* for code fragments, since this isn't the end result of what you want.
 
Don't touch me. And dont' touch this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic