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 HTML, CSS and JavaScript and the fly likes How is response set 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 » Engineering » HTML, CSS and JavaScript
Reply locked New topic
Author

How is response set

Sameer Sebastian
Greenhorn

Joined: Aug 19, 2011
Posts: 17
Hello,

I'm using ajax and I'm trying to obtain the response from the server.

I want to know how is the response text is set in the server side.

Please help,

Thanks,
Sam.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

By whatever is receiving the request. If it's a servlet for example, whatever the servlet writes to the response (or perhaps by a JSP that servlet forwards to).


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Duplicated: http://www.coderanch.com/t/551664/HTML-JavaScript/Receiving-ajax-response-jQuery

Other thread has better info.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

This one is closed.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How is response set
 
Similar Threads
How to set Server HTTP Header
Distributed EJB lookup problem
Function chain with asynchronized request
Trying to print XML using a servlet
Asynchronous server-side web service