• 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

how to refresh a particular portion

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi JavaRanch

i have a jsp page where i have included some more jsp pages(all this stuff is managed by java script code i am using yahoo UI interface)

in my jsp page i have 5 user input forms(Ex. 1)Form for entering credit card details and 2) Form for entering shipping details e.t.c.) each form has a button. so When i click on any particular form only that particular portion has to be refreshed not the main page.

Can any one help me by providing the relavent code or advice.

Thanks in advance
Praveen
 
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
The two options I can think of are frames/iframes; one for each form and AJAX.
In either case the HTML/Javascript forum would be a better place for this question so I'll move it over there for you.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As Ben said, if you do not want the whole thing to be refreshed you need to break the page up as frames/iframes or look into the world of Ajax.

Eric
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic