我需要在JSF应用程序中获取资源文件.
InputStream input = new FileInputStream("filename.xml");
但是,系统找不到filename.xml与sample.xhtml网页位于同一文件夹中的文件.我怎么得到InputStream它?
filename.xml
sample.xhtml
InputStream
resources jsf inputstream file
file ×1
inputstream ×1
jsf ×1
resources ×1