Friday, September 13, 2013

JSF Warnings: JSF1015: Request path ''..'' begins with one or more occurrences of the FacesServlet prefix path mapping ''..''.

The warning JSF1015 can be raised when redirect URI starts with multiple occurences of Faces Servlet mapping (usually string: faces/ ), by example: /faces/faces/index.xhtml. In Mojarra implementation warning can be raised from methods:
  • com.sun.faces.application.ViewHandlerImpl.normalizeRequestURI
  • com.sun.faces.application.view.MultiViewHandler.normalizeRequestURI
Usually the warning occurs when you are redirecting using the servlet engine, rather than using the JSF navigation functionality.

No comments:

Post a Comment