On 5/2/05, Jason Lea <[EMAIL PROTECTED]> wrote:
> Just a quick note/question about Craig's code below:
> 
> This line
> 
>     <label>${category.label}</label>
> 
>  will output the value with not xml filtering, so some values will cause
> incorrect xml to be generated.
> 
> You should use <c:out> tag to filter the <,>,',", and & characters to
> output &lt;, &gt;, &apos;, &quot;, and &amp;
> 
>     <label><c:out value="${category.label}"/></label>
> 
> and the same for the <value> element
> 

Yep ... +1 on that suggestion.

Craig

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to