[jdom-interest] url as attribute value changes & to &

Phillip Rhodes spamsucks at rhoderunner.com
Thu Jul 25 20:41:33 PDT 2002


I saw a reference to this in the FAQ, and a couple prior postings, but I 
still do not see the solution.
My problem is simple.  I am creating a "img" element , and set an attribute 
called "src" to be the URL that will build a dynamic graph.
I use XMLOutputter to create my <img src="url is here"/>


Thanks!

Example URL's:

http://test.rhoderunner.com/hra/servlet/hra/template/ChartForm?val=x&title=Health+Score&showLegend=true&series=November+1999&chartValues=11&chartValues=29&chartValues=1&chartValues=15&chartValues=73&chartValues=24&chartValues=15&series=April+2001&chartValues=11&chartValues=38&chartValues=1&chartValues=15&chartValues=81&chartValues=29&chartValues=30&categories=Cancer&categories=Heart+Disease&categories=Emphysema&categories=Cirrhosis&categories=Arthritis&categories=Overall&categories=Self-assessed+Health


If I send it thorough jdom, the url gets escaped and no longer works.
http://test.rhoderunner.com/hra/servlet/hra/template/ChartForm?val=x&amp;title=Health+Score&amp;showLegend=true&amp;series=November+1999&amp;chartValues=11&amp;chartValues=29&amp;chartValues=1&amp;chartValues=15&amp;chartValues=73&amp;chartValues=24&amp;chartValues=15&amp;series=April+2001&amp;chartValues=11&amp;chartValues=38&amp;chartValues=1&amp;chartValues=15&amp;chartValues=81&amp;chartValues=29&amp;chartValues=30&amp;categories=Cancer&amp;categories=Heart+Disease&amp;categories=Emphysema&amp;categories=Cirrhosis&amp;categories=Arthritis&amp;categories=Overall&amp;categories=Self-assessed+Health







More information about the jdom-interest mailing list