How to hide query string from url in spring mvc.? -


i try hide query string url work success problem when refresh page give error "the request sent client syntactically incorrect".

<script type="text/javascript"> var uri = window.location.tostring(); if (uri.indexof("?") > 0) {     var clean_uri = uri.substring(0, uri.indexof("?"));     window.history.replacestate({}, document.title, clean_uri); } </script> 

i use script hide query string in url.


Comments

Popular posts from this blog

symfony - TEST environment only: The database schema is not in sync with the current mapping file -

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -