This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes JSP and the fly likes Ajax call problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Ajax call problem" Watch "Ajax call problem" New topic

Ajax call problem

Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 104

i have made one ajax call in my application and i am trying to set values dynamically in jsp..

now ajax call is working fine...but each time jsp is called through ajax i am not getting updated page....i guess server is sending the same page which it has previously compiled...

how can i call new jsp page (newly compiled jsp page) through ajax

Problems And Solutions - Algorithms
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62141

An Ajax request is just like any other from the point of view of the server. The same mechanisms that work for "normal" requests work for Ajax request.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Satyajit Bhadange
Ranch Hand

Joined: May 13, 2010
Posts: 104
Thanks for reply
I agree. Here's the link:
subject: Ajax call problem