title: How to set the file upload path in liferay portlet so that it can be stored either in unix or windows system(machine independent)?
body: <p>The suggestions were giving the path as catalina_home or user/home.
  Do I need to set any parameters in server.xml?
  And using actionRequest.getPortletSession().getPortletContext().getRealPath("/"); I am unable to store the file path in database.</p>