This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Ranch Hand
Posts: 136
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • 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 ( 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.
    Are you okay? You look a little big. Maybe this tiny ad will help:
    The WEB SERVICES and JAX-RS Course
    • Post Reply Bookmark Topic Watch Topic
    • New Topic
    Boost this thread!