• 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
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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: 6837
1299
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: 6837
1299
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.
 
I wasn't selected to go to mars. This tiny ad got in ahead of me:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic