lang.String)</code></a> or
 the deployment descriptor.
 <p>
 If this method is called with an invalid or unrecognised character encoding, then a subsequent call to
 <a href="#getWriter()"><code>getWriter()</code></a> will throw a <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/UnsupportedEncodingException.html" title="class or interface in java.io" class="external-link"><code>UnsupportedEncodingException</code></a>. Content for an unknown encoding can be sent
 with the <a href=