Hi everyone. I do the following under standalone tomcat and all is fine.
new File("/WEB-INF/xslt/PresentAccountsHTML.xsl");
when I try to open the file this way it starts at the d directory.
I also have getServletContext().getRealPath("/WEB-INF/xslt/PresentAccountsHTML.xsl") but got null when I ran this. Not sure why I am unable to open a file that I have under my application's directory. How does JBoss handle all the resources in my war file? How can I reference a file under my WEB-INF directory?
Thanks,
Haytham