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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -