• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Ajax url question

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone! I'm a super newbie for ajax, but now I want to learn more about it. Basically, what I am doing is creating a jsp(for testing purposes only) that's going to get a browser's cookie, extract sessionID out of it and paste it to this url api call: �http://iSeriesIP/nexuspublic/NXRTVSESS.pgm?sessid=�. This url would return to me a xml document, something like: "Document xmlDoc = ajaxCall(thatURL);"

My question is how do I call or activate this url from my jsp using ajax or another technology? If you have any helpful tutorial links or sample code, that would be great too!

Thanks so much,
Carmen
[ March 08, 2006: Message edited by: Bear Bibeault ]
 
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Correct me if I'm wrong, but it seems to me that your question boils down to: how do I use Ajax?

If so, here's the tutorial that got me started.
[ March 08, 2006: Message edited by: Bear Bibeault ]
 
Carmen Brianick
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bear, I'm not really sure what ajax is. Currently I think Ajax is javascript code that can mimic the functionality and speed of desktop applications. I've been told Ajax can call url's or web services? I'm not sure, but I'll check out the tutorial to better prepare myself.

Thanks again Bear!
Carmen
 
Bear Bibeault
Sheriff
Posts: 67747
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In a nutshell, Ajax is a means to generate a request to the server and to receive its repsonse under Javascript control.

Because this means that server requests can be made without the need to submit the entire page, an application page can be written to appear more "desktop like" since it can update information "in place" without the need for a refresh.

Ajax is not a desktop environment of any kind, just a means to allow communciation with the server in a "behind the scenes" manner.
[ March 09, 2006: Message edited by: Bear Bibeault ]
 
reply
    Bookmark Topic Watch Topic
  • New Topic