%-- $HeadURL: svn+ssh://developername@svn.wald.intevation.org/deegree/apps/igeoportal-standard/trunk/loadcontext.jsp $ --%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> <%@page import="org.deegree.portal.portlet.enterprise.Messages"%> <%@page import="org.deegree.framework.util.ConvenienceFileFilter"%> <%@page import="java.io.File"%> <% String user = ((org.apache.jetspeed.om.security.BaseJetspeedUser)session.getAttribute("turbine.user")).getUserName(); String dirName = Messages.getString( "WMCBasePath" ) + user; dirName = application.getRealPath( dirName ); ConvenienceFileFilter cff = new ConvenienceFileFilter( false, "*" ); File dir = new File( dirName ); if ( !dir.exists() ) { dir.mkdir(); } File[] files = dir.listFiles( cff ); %>