The problem is that the XML Parser of the config file thinks that
your XML is part of what its supposed to parse. You need to escape the
values for < and > with < and >.
Randy
-----Original Message-----
From: Shahed Ali [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 4:45 PM
To: [EMAIL PROTECTED]
Subject: XML as Servlet Init Params
Hi,
I would like to pass an xml string as a parameter to a servlet.
I tried
<init-param>
<param-name>foo</param-name>
<param-value>
<xml>
<param>
</param>
</xml>
</param-value>
but this does not work.
Any ideas ?
Thanks
Shahed
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]