karta.faces.context"><code>ResponseWriter</code></a> at the correct position for the saved state to be
 written.
 </p></div>
<dl class="notes">
<dt>Parameters:</dt>
<dd><code>context</code> - <a href="../context/FacesContext.html" title="class in jakarta.faces.context"><code>FacesContext</code></a> for the current request</dd>
<dd><code>state</code> - the state to be written</dd>
<dt>Throws:</dt>
<dd><code><a href="https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/io/IOException.html" title=