I've been googling all over the place for information on how to display content from a .txt file onto a web page using JSF with no success.
From what I think/guess, the basic jsf form would be something like
<h:outputText value="#{beanName.printTextFileMethod}"/>
or something.
Help on how to set up bean appreciated. I tried playing with InputStream/BufferedStream, having a lot of problem just trying to get rid of the red lines in codes. Also I'm absolutely horrid at defining relative path. And absolute path doesn't seem to work with inputstream?
Thank you for your time.