JSP Mixed Information
03-09-2015Get Current Relative URL in JSP
${requestScope['javax.servlet.forward.request_uri']}
If the page URL is www.example.com/hello/world
, then above EL expression returns /hello/world
${requestScope['javax.servlet.forward.request_uri']}
If the page URL is www.example.com/hello/world
, then above EL expression returns /hello/world
© 2019 All rights reserved. Codesenior.COM