Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

delimit ampersand in applicationContext.xml

 
Stu Johns
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
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?

thanks

Stu.
 
Karthik Shiraly
Bartender
Posts: 1208
25
Android C++ Java Linux PHP Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Try
"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
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
that worked great thank you
 
Sandy Ghosh
Ranch Hand
Posts: 30
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please let me know how to escape "a<b" ?
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


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)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic