Lets say I have this 2 line text file called Hello.txt.
Hello world.
goodbye world.
How can I display the contents of this file on a page? I believe I can do it
with page.setTextArticle(article);. However, I am a newbie to xwiki and I
am still in the dark. What is the full code snippet to use?
Thanks in advance.
carlos
Show replies by date