This content has been marked as final. Show 3 replies
I am not sure that I understand.
How big are we talking about 1 GB or more, and why would you whant it all in memory.
thanks for your answer. though it does make me wonder that whatever i do, people start questioning if im in my right mind. anyway, the answer to my question is something like this: assert(Thread.currentThread().getContextClassLoader() .getResource("Xmldateibegin.txt") != null); which looks much like a testng test. WHICH WOULD WORK IF I GOT THIS FRACKING TESTNG STUFF RUNNING!!!1 n.
maybe this helps
javax.faces.context.FacesContext facesContext = javax.faces.context.FacesContext.getCurrentInstance(); ServletContext servletContext = (ServletContext) facesContext.getExternalContext().getContext(); InputStream is = Resources.getResourceAsStream(filePath, servletContext);