Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] CDATA in web.xml?

On Sat, Feb 22, 2025 at 7:59 PM Michael B Allen <ioplex@xxxxxxxxx> wrote:
Hello,

Is CDATA supposed to work in a web.xml?

Solved.

Of course I found the issue immediately after posting ...

The trailing > in the <![CDATA[...]]> sequence is absent.

Adding it fixes the issue.
 
            <param-value><![CDATA[
<a href="" Access</a>
]]</param-value>
        </init-param>
        ...

--
Michael B Allen
Java AD DS Integration
https://www.ioplex.com/

Back to the top