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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -