This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Do Web services Redirect the data to the source requested in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Do Web services Redirect the data to the source requested in java" Watch "Do Web services Redirect the data to the source requested in java" New topic
Author

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

Sabarish Venkat
Ranch Hand

Joined: Jan 18, 2012
Posts: 136

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.
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Do Web services Redirect the data to the source requested in java
     
    Similar Threads
    JSON Artifacts for Web Service
    Webservices and Request/Response
    document.open in ajax callback function
    What is Web Service?
    How to use ajax to populate data from database to combobox of html