xml with cdata html sections using jaxb to convert to java objects ...is it possible to render the html? -
i have xml document used jaxb have struts2 display in webpage.
this document @ high level contains cdata sections paragraphs contain html. java object returned list of paragraph objects text gets turned strings.
when display them in jsp paragraphs outputted screen , contain html not rendered.
i have found answers on here removing html java strings nothing this. don't have control on xml document consume it.
eclipselink jaxb (moxy) has @xmlcdata annotation handling cdata (i'm tech lead). may if can use moxy jaxb implementation.
for more information see:
Comments
Post a Comment