THis executes fine as a standalone java application. After deploying my app in Tomcat while debugging the program stops at 'Document domDoc = docBuilder.parse("Records.xml");'
I have placed Records.xml in the classes folder under WEB-INF.
Any suggestions how I should specify tomcat specific path??
Joined: Feb 15, 2005
There are undoubtedly other classes upon with this class is dependent. You need to find out what the dependencies are and either include the class files themselves in WEB-INF/classes or the jar files in WEB-INF/lib. In order to find out the dependencies, I'd start by looking at what is in the classpath of your stand-alone application.