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

Do Web services Redirect the data to the source requested in java

Ranch Hand
Posts: 136
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had created a web service where it receives the data and store it in database. For confirmation of storage to user i had shown the stored data as response in the same page as (where web service is processing) JSON output.

Now i have a doubt , Do the response can be redirected to the request page.

For your better understanding,

  • A user uploading the data from a html file (upload.html).

  • Now the web service will store the data in database (upload.java) and shows output as JSON in same page (current am using this way)

  • Can i take the response JSON output back to the html (upload.html) and show the JSON output

  • Is this way possible.
    Consider Paul's rocket mass heater.
      Bookmark Topic Watch Topic
    • New Topic