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.
In my ajax call, i am getting the Jason response. Unfortunately I am getting the additional content of HTML along with the response. That HTML is equivalent to page from where I am triggering the Ajax request. It is javastruts web application, in the action class before addding the content to printwriter object i am printing the response, which has only the required response. But in jsp while retriving through responseText ,, some HTML content is getting added to the original required response. By the use of alert I came to know that it is the HTML source of current page.
If any of you came across this kind of issue, please advice me. Thanks in advance.