• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlet deployment descripter

 
abani patra
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am creating a web application using some init param for servlet.
I am using tomcat 6.
When I am using a '&' character in init param value tag I am getting error.
What may be the reason.

Regards
Abani
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the error? Could you post the code of the init here?
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Properly you need to encode the "&" character.
& a m p ;
Or try the unicode definition: \u0026
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic