tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Stacy <cst...@crystaliz.com>
Subject Re: EJB on Tomcat !!
Date Wed, 03 May 2000 19:24:52 GMT
I have an application parameter value that consists of some XML.
I want to write something like:

      <context-param>
        <param-name>foo</param-name>
        <param-value>"<bar/>"</param-value>
      </context-param>

But when I call app.getInitParameter("foo"), I get back a string of length 1 (one)
containing only a quote (") character.

If I leave out the quotes, and just write:

        <param-value><bar/></param-value>

then I don't get back anything.

What is the XML syntax that I need to use for this kind of thing?


Mime
View raw message