On 5/2/05, Jason Lea <jason@kumachan.net.nz> 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 <, >, ', ", and &
>
> <label><c:out value="${category.label}"/></label>
>
> and the same for the <value> element
>
Yep ... +1 on that suggestion.
Craig
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
|