
11/10/2011, 09:59
|
| | Fecha de Ingreso: octubre-2008 Ubicación: Madrid
Mensajes: 352
Antigüedad: 16 años, 6 meses Puntos: 5 | |
redirect en jsf2 Estoy haciendo una redireccion a en jsf2:
HttpServletRequest request = (HttpServletRequest) externalContext.getRequest();
String requestContextPath = request.getContextPath();
HttpServletResponse response = (HttpServletResponse) externalContext.getResponse();
response.sendRedirect(requestContextPath + "/faces/main.xhtml");
FacesContext.getCurrentInstance().responseComplete ();
Pero no me hace nada. Y la ruta esta bien |