I am using the rich:fileUpload component to upload a file. I have my upload listener in my backing bean. All works as intended and I have the contents of the uploaded file in a byte array. For the time being I need to store the contents in a file on the server. For example, within the view/img directory of my SEAM application. How can I get the absolute path for a directory within my SEAM application? or even just the absolute path to the application's web context root?