This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I called jsp page from html page using jquery and ajax which is working properly but the response it displaing is a html code .see below.I have entered 1 and 3 and the sum of the two number shold display 4.but in the result it is displaying the complete html code with result.how to avoid it...........
first number: 1
second number: 3
result: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Insert title here</title></head><body>4</body></html>