-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert,
Robert Segal wrote: > I am curious about a certain possibility to embed XML as a child of a > context-param value in a servlets web.xml file. Here is what I a > looking for... > > <context-param> > <param-name>ContextParam1</param-name> > <param-value> > <happy>A happy element</happy> > </param-value> > </context-param> I don't think you can do this, as the DTD and/or schema for the webapp deployment descriptor says you can't. Your CDATA solution is the one you're looking for. Better yet, use <context-param> to pass a filename to your code, and then read a pristine XML file instead of hacking one into the deployment descriptor. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxMXb9CaO5/Lv0PARAohfAKCmbKE/FbbkfjIFwIfX2ur5WA1mXQCeMSxT 6iuiiR2AqlqypC9ba7qR5pg= =r6fh -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]