wood burning stoves
The moose likes Spring and the fly likes delimit ampersand in applicationContext.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "delimit ampersand in applicationContext.xml" Watch "delimit ampersand in applicationContext.xml" New topic

delimit ampersand in applicationContext.xml

Stu Johns
Ranch Hand

Joined: Aug 11, 2008
Posts: 63
I need to use an ampersand in a bean definition, I am trying to do it like this:

any ideas how I can delimit this character?


Karthik Shiraly

Joined: Apr 04, 2009
Posts: 874


"me& amp;you"

[There should be no space after & .. I had to put it because this site shows it as & otherwise]
Stu Johns
Ranch Hand

Joined: Aug 11, 2008
Posts: 63
that worked great thank you
Sandy Ghosh
Ranch Hand

Joined: Jun 05, 2010
Posts: 30

Please let me know how to escape "a<b" ?
Bill Gorder

Joined: Mar 07, 2010
Posts: 1682

in your case you need & lt;

*Note there should not be a space after the & but I had to add it to keep the forum from formatting it)

[How To Ask Questions][Read before you PM me]
I agree. Here's the link: http://aspose.com/file-tools
subject: delimit ampersand in applicationContext.xml
jQuery in Action, 3rd edition