Hello,
Why is this redirect not working in my managed bean?
HttpServletRequest objHttpServletRequest = (HttpServletRequest) FacesContext.getCurrentInstance().getExternalContext().getRequest();
FacesContext.getCurrentInstance().getExternalContext().redirect(objHttpServletRequest.getRequestURI() + "?abc=" + 1 + "&def=" + 2);
I think the problem is caused because of &. If i send just parameter(removing &), it works fine. Thanks in advance :)