Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
    Bookmark Topic Watch Topic
  • New Topic

How is response set

 
Sameer Sebastian
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
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).
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Report post to moderator
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
Pie
Posts: 64824
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
This one is closed.
 
    Bookmark Topic Watch Topic
  • New Topic