myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias We├čendorf (JIRA) <>
Subject [jira] Resolved: (MYFACES-418) Tiles does not work with javax.faces.STATE_SAVING_METHOD=server.
Date Tue, 06 Sep 2005 16:23:33 GMT
     [ ]
Matthias We├čendorf resolved MYFACES-418:

    Resolution: Fixed

thx for reporting it

> Tiles does not work with javax.faces.STATE_SAVING_METHOD=server.
> ----------------------------------------------------------------
>          Key: MYFACES-418
>          URL:
>      Project: MyFaces
>         Type: Bug
>   Components: General
>     Versions: 1.0.9m9
>  Environment: Tested with Tomcat 5.5 under Gentoo linux and Windows XP Home
>     Reporter: Carsten Fregin
>     Assignee: Thomas Spiegl

> Problem: When I set the javax.faces.STATE_SAVING_METHOD in the web.xml to server and
try out the tiles-example,  I get a java.lang.IllegalStateException: Cannot create a session
after the response has been commited.
> Analysis: The problem happens only while calling a tiles page directly. So, calling response.sendRedirect("page1.jsf");
 or entering the url (/myfaces-tiles-example/page1.jsp) results in the error. 
> If you create a jsf page without tiles support, you are able to jump to a tiles page
by navigation-rule. Proof:
> try to call  /myfaces-tiles-example/non-tile.jsf directly in your browser and press the
back button.
> Workaround: use javax.faces.STATE_SAVING_METHOD=client (generates much bandwidth) or
create an index.jsp with a commandLink to your tiles page.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message