This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes How to do both? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to do both?" Watch "How to do both?" New topic

How to do both?

Mimi Tam
Ranch Hand

Joined: Mar 05, 2010
Posts: 121

Pardon me if I am asking a question with obvious answers but I don't have a clear answer and hope to get some help.

According to MVC, the POST below will persist input data to my database and return a URI for the 'created' View to display/render data that's been uploaded.

In addition to doing this, how can I send a HTTP Response message back to the originating HTTP Requester?

Many Thanks in advance.

It is sorta covered in the JavaRanch Style Guide.
subject: How to do both?
Similar Threads
Within the infrastruture - How to and Where - to intercept HTTP request and to send HTTP response?
Accessing list from multiple jsp pages (Simple question)
Respond to 3rd party requests
Marshalling plumbing - off base
How to do both?