2017  Kodetalk | Feedback | Privacy Policy | Terms | About
userimage

unable to load page url contains spacial charcter like hash #

My JSP contain some links and which I click those links everything is working fine but one of the link returnswith page not found because the link URL contains a hash symbol.

e.g http://localhost:8080/qusandans/c#/

I google it but unable to find any proper solution.Please help!

userimage

Just replace hash symbol with the below it will work.

${fn:replace('c#',  '#', '%23')}

Answer is