Microsoft
Software
Hardware
Network
Question : Where are mappings for XML files set inside of Eclips
I have an XML file with global strings I use in my JSP/Java application. I have a Bean I created to Parse the XML document which I placed in the same file as the web.xml, but if I do not pass the Document Builder.parse a literal path to the file, it cannot find it. Is there a place inside of Eclipse where the mapping is done?
Answer : Where are mappings for XML files set inside of Eclips
One way of loading it is to place it in WEB-INF/classes. You can then load with
1:
InputStream in = getClass().getResourceAsStream("/x.xml");
Random Solutions
Binary data
User can't receive emails sent to her personal email, but emails to group get through...
Setting up FTP Users on IIS 7.5
Icon causing trouble with spell checker
C# 2005 how to Change the Target .NET Framework Version of an Existing Project
Dynamic Color
How can i fill 1D array from 2D array and how can i sort 1D array?
How to commit changes of a Typed Dataset to database at once
VS 2003 with .NET Framework 3.5
store comma separated multiple numbers in a mysql database field database and query them efficiently