File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes how to update url on ajax call Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to update url on ajax call " Watch "how to update url on ajax call " New topic

how to update url on ajax call

sanguine sinha

Joined: Jul 10, 2013
Posts: 1
I am calling a page using ajax , but my page url does not changes. How to change page URL still not refreshing page ?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

The whole point of Ajax is to make requests in the background and not change the whole page or its URL. If that's not what you want, don't use Ajax.

[Asking smart questions] [About Bear] [Books by Bear]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
well if you are loading new pages, you might as well refresh the page. But if you want a single page app. look into
I agree. Here's the link:
subject: how to update url on ajax call
It's not a secret anymore!