Hi. I got an error using getPortletContext().getRealPath("/");It returned an path with like this "d:\jboss\server\default\.\deploy\someapp.war".Please notice there is content "\.\" in the path..why...Thanks for return this.