HttpSession session = request.getSession();
// hash map for add activity
HashMap fileHashMap = null;
// to identify multiple opened window
String newWindowId = "1";
UserObject userObject = (UserObject)session.getAttribute("userobject");
int userId = userObject.getIndividualID();
String folderId;
// Related Info frames, and any file list that calls this handler needs to set this parameter so
// The target directory becomes the users default rather than trying to get the CurrentFolder from
// the display list.
boolean fromRelatedInfo = request.getParameter("BottomFile")!=null && request.getParameter("BottomFile").equals("true");
if (fromRelatedInfo)
{
folderId = "" + (userObject.getUserPref()).getDefaultFolderID();
}
else
{
folderId = request.getParameter("folderId");
}