No, it was just a "curious" question. Especially about the whitespace around the dbConnectUrl's param-value. But I am going to just test that out right now myself.


Erik

Jacob Kjome wrote:

Everything should be just fine with your current setup. Are you noticing problems with it?

Jake

At 01:23 PM 1/3/2003 -0500, you wrote:

Just a simple question -- if I want to use an ampersand (or other character that is significant in XML), do I need to escape it with an entity in the web.xml ?

For instance, is this valid:

<context-param>
<param-name>dbConnectUrl</param-name>
<param-value>
jdbc:mysql://localhost:3306/eprice?user=eprice&amp;password=pass
</param-value>
</context-param>

(Note entity used in querystring of URL.)

Also, is okay to have the URL there on its own line, or will the whitespace before and after the URL be added to any getServletContext().getInitParameter() calls?


Thanks!

Erik


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to