I've been migrating to from JSF 1.0 to JSF 2.2.
I'm getting the following error while trying to run my app:
JSP Error page Illegal attempt to set ViewHandler after a response has been rendered. | java.lang.IllegalStateException: Illegal attempt to set ViewHandler after a response has been rendered.
After reading some solutions to the problem I guess it's a matter of view-handler definition.
What should be written in faces-config.xml
instead of:
<view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</view-handler> ?
Obviously, if that's not the problem I'll be happy to hear that, too.