Hi everybody, the following class <URLMappingsXmlDAO> it is supposed to print out all the elements of <whatever.xml> file for testing purposes. It is invoked from a servlet <MyServlet> <MyServlet> is sitting @ WEB-INF/classes/com/mydomain/controller/ <URLMappingsXmlDAO> @ WEB-INF/classes/com/mydomain/controller/web/ <whatever.xml> @ WEB-INF/ I keep getting a FileNotFoundException, for some reason it cannot find the xml file. Any suggestions? Thanks in advance,
sa<br />Sun Certified Programmer for Java 2 Platform<p>"... black holes are those places in the Universe where God attempted to divide by zero"
Joined: May 31, 2002
have u mapped u'r servlet in web.xml
Joined: May 17, 2002
The deployment descriptor has the required mapping for the servlet. As you can see the FileNotFoundException is being caught within the servlet. When the mappings r not ok, you get a different kind of error, like "resource not available" or something like that. Any other ideas anyone? Thanks, [ June 07, 2002: Message edited by: Erick Martin ]