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
Need to force exchange users to send internal email externally
Query To Detect if unicode data exists in field in SQL Server 2005
Firewall & Windows Security Center
paypal mass payment api
PayPal Express Checkout Module
Need a "quiz" application that saves to a database
Calculated variable on server...
reCAPTCHA PHP not failing when nothing is entered; works fine when something is entered
How do I activate a product key for Windows 7 professional on a pushed machine
I have a coolmax eSATA drive enclosure with a seagate SATA drive