File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Web.XML problem

 
Mike London
Ranch Hand
Posts: 1158
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

<param-value>jdbc:mysql://localhost/fooDB?user=fooUser&password=fooPassword</param-value>
 
Mike London
Ranch Hand
Posts: 1158
1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please close this item. I figured it out after posting.

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

Thanks.

-- Mike
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic