jsp - fetch the url from the browser java web and replace the url with new url -


i have url when running project , want url browser , replace new url dynamically.

example having url below:-

http://localhost:8084/blog1_1/title?uname=55%22

replace url

http://localhost:8084/blog1_1/title

and set url in browser ???

just redirect desired url:

response.sendredirect("/blog1_1/title"); 

Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -