aspose file tools*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Simple Web.XML problem" Watch "Simple Web.XML problem" New topic
Author

Simple Web.XML problem

Mike London
Ranch Hand

Joined: Jul 12, 2002
Posts: 1056
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

Joined: Jul 12, 2002
Posts: 1056
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
 
subject: Simple Web.XML problem