File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Simple Web.XML problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Simple Web.XML problem" Watch "Simple Web.XML problem" New topic

Simple Web.XML problem

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1043
In the param-value statement below, I'm getting an error in the Tomcat log that says: "The reference to entity password must end with the ; delimiter".

I'm trying to store the login/dbconnection in the web.xml file.

Can anyone please tell me what's wrong?

Thanks in advance....

-- Mike

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1043
Please close this item. I figured it out after posting.

The problem was I needed to escape the & in the web.xml.


-- Mike
subject: Simple Web.XML problem
Similar Threads
Problem with jakarta commons dbcp
Why this code to get Init Param in JSP not work?
Problems in Integrated Windows Authentication
JDBC Parameters as Context Parameters?