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
Post a Comment