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
Cable Type/Pinout for RJ45 to RJ45 T1/E1 between two routers
Remove header from array created using Get-QADComputer cmdlet?
100% CPU usage in vCenter but not in taskmanager on the Windows NT 4.0 VM that has been converted
asp - The resource could not be found
what is the default directory to run jsp file from tomcat 5.5 and what directory for mysql_connector.jar file to be placed?
Problems installing the AjaxControlTooKit.dll
Remove space from textbox automatically
perl regexp with div tags and space
MySQL IFNULL() selection
iPad Camera Connection Kit does not display .jpg images on iPad