This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlet deployment descripter Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlet deployment descripter" Watch "servlet deployment descripter" New topic
Author

servlet deployment descripter

abani patra
Ranch Hand

Joined: Oct 11, 2011
Posts: 70
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

Joined: Jul 14, 2010
Posts: 754

What is the error? Could you post the code of the init here?


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3476

Properly you need to encode the "&" character.
& a m p ;
Or try the unicode definition: \u0026
 
Consider Paul's rocket mass heater.
 
subject: servlet deployment descripter
 
Similar Threads
Help with some Tips About SWCD.
problem with accessing JSP init parameters
wsdd urgent help
wsdd urgent help Web Services
Multiple Struts-config.xml in Jboss 4.2.1