This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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: 61451
    
  67

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: 61451
    
  67

This one is closed.
 
jQuery in Action, 2nd edition
 
subject: How is response set