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
WRT54G2 Linksys router - reset password saving actual configuration
PHP/Javascript newbie - need help integrating niftycube into my site
Cannot start the reminder service - Outlook 2007
Which unit test tool contained in Visual Studio 2008?
IPv4 vs IPv6
Network connection intermittently blocks a port Error 619
Convert C# to VB
Proliant ML110 G4 Lost RAID and Randomly gives Error 0251
MS-Access doesn't recognize all rows in text file ...
Downgrade to XP