Answers for "read url jsf"

0

read url jsf

HttpServletRequest req = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
String url = req.getRequestURL().toString();
return url.substring(0, url.length() - req.getRequestURI().length()) + req.getContextPath() + "/";
// ...
Posted by: Guest on September-03-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language