t;&nbsp;targetType)</span></div>
<div class="block">Converts an object to a specific type.

 <p>
 An <code>ELException</code> is thrown if an error occurs during the conversion.
 </p></div>
<dl class="notes">
<dt>Overrides:</dt>
<dd><code><a href="ELResolver.html#convertToType(jakarta.el.ELContext,java.lang.Object,java.lang.Class)">convertToType</a></code>&nbsp;in class&nbsp;<code><a href="ELResolver.html" title="class in jakarta.el">ELResolver</a></code></dd>
<dt>Parameters:</dt>
<dd><code>context</code> -