tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kris Schneider <k...@dotech.com>
Subject Re: JSTL quickie [ot]
Date Sun, 19 Jan 2003 03:29:30 GMT
Don't think that's gonna happen with JSTL. Something like the following 
expression element should work:

<td>
   <pre>
     <%= new 
String(((ClassOfIndx)pageContext.findAttribute("indx")).getExceptiontxt()) 
%>
   </pre>

Jason Pyeron wrote:
>            <td><pre><c:forEach var="c" items="${indx.exceptiontxt}"><c:out

> value="${c}"/></c:forEach></pre>
> 
> yields
> 
>            
> <td><pre>1069711897461089711010...
> ...1041141019710046106971189758535154411310</pre>
> 
> 
> 
> On Sat, 18 Jan 2003, Jason Pyeron wrote:
> 
> 
> 
>            <td><pre><c:out value="${indx.exceptiontxt}"/></pre>
> 
> is giving a [B@19c4091, thats a byte array, how do I burp this out as 
> text?
> 
> -jason


-- 
Kris Schneider <mailto:kris@dotech.com>
D.O.Tech       <http://www.dotech.com/>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message