I have the following URL:
/login.xhtml?tipo=ind
I am trying to access the GET request parameter using the following code:
Map<String, String> parameterMap = (Map<String, String>) FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap();
String tipo = parameterMap.get("tipo");
It is displaying null. I am doing all of this on my login bean which is working correctly. Not sure why I can't access the GET request parameter.