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
Questions about Joins
Microsoft.Exchange.Search.
ExSearch.e
xe 80% resources
iPhone Active sync with exchange server
getElementByID not loading text
How can I force Graphics.MeasureString to consider the font style?
Issue with Email reporting in Windows SBS 2008
need to select all checkbox in gridview.
ATM clocking
Java runtime 6.20 silent install : fails to register with IE8 on Win7
Best routers for creating a VPN tunnel between two offices