How to retrieve URL fragment identifier in JSP
-
12-01-2021 - |
Pregunta
Is there an easy way to get the URL fragment identifier (everything after the hash '#') in JSP? I've tried just finding even the URL itself which includes the fragment identifier with ${pageContext.request.queryString}
and other similar pageContext.request
methods without success.
Solución
I've realized fragment identifiers are never sent to the server! That's why I can't seem to find them in JSP methods...
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow