java.lang.IllegalStateException: Cannot forward a response that is already committed on a JSF action with sendRedirect/forward in ADF

This kind of java.lang.IllegalStateException exception are triggered when some Java code is executed after a forward(), sendRedirect() or sendError(). You can refer to this StackOverflow thread to learn more about how to avoid this in Java: here I’ve encountered this error in ADF a couple of time when you use a forward(), sendRedirect() or sendError()

java.lang.IllegalStateException: Cannot forward a response that is already committed on a JSF action with sendRedirect/forward in ADF Read More »