I want to dynamically add new .xhtml
files in the webapp folder of my project.
It only works when i give the full path like,
FileWriter fw = new FileWriter("D:/projects/UIBindingExample/src/main/webapp/pagefour.xhtml");
fw.write("<html>...some code....</html>");
fw.close();
instead of this i want to get it work using the relative path of the file like,
src/main/webapp/pagefour.xhtml
i tried this.but its not working .!!! what should i do? Thanks in adv.