Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple Web.XML problem

 
Mike London
Ranch Hand
Posts: 1190
4
  • 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: 1190
4
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic