• Post Reply Bookmark Topic Watch Topic
  • New Topic

java.util.Properties loadXMLFile()  RSS feed

 
praveen sharma
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi everyone

i am using jdk1.5. i am using properties file. which is a [XML] File rather than normal file.when ever i tried to load the file using method.
it showed me an Exception which is as following
.So can people help me running out of this problem


Regards
Praveen
 
pankaj patil
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

Check the xml file if all the tags are been closed.

if possible can i see the xml file
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
praveen sharma,
This forum is for Servlet questions only.
I'll move this thread for you.
 
Rahul Bhattacharjee
Ranch Hand
Posts: 2308
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please check whether the XML is in accordance to the DTD of properties.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!