• 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

Without refreshing the page

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to fill the combo without refreshing the page.

detail:

filling of combo B depends upon the value selected in combo A. On change of combo A, I just want to request the server and get the data in a form of java object like, arraylist, vector, etc to fill the combo B.

Anybody has any idea.
Do I need XML-RPC, xmlhttprequest, or anyother thing?

Thanks.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is one of our most common questions. Search this and the servlets forum and you'll find plenty of discussion.

If you really mean "without refreshing the page" you'll need to do some fancy footwork with hidden iframes or (if you're only supporting new browsers) the Javascript XMLHttpRequest object.

http://developer.apple.com/internet/webcontent/xmlhttpreq.html
reply
    Bookmark Topic Watch Topic
  • New Topic