	public static void setStyle( String name)
	{
		ServletManager servletManager = Activator.getServletManager();
		if( name.equals( "default")) {
			servletManager.removeResource( "/css");
			servletManager.addResources("/css","/resources/templates/layout/css");
			servletManager.removeResource( "/js");
			servletManager.addResources("/js","/resources/js");
			servletManager.removeResource( "/images");
			servletManager.addResources("/images", "/resources/images");
			return;
		}
		HttpContext httpContextStyle = new HttpContextStyle( name);
		try {
			JarFile styleJarFile = new JarFile( name);
			Enumeration<?> jarEntryEnum = styleJarFile.entries();
			while (jarEntryEnum.hasMoreElements()) {
				JarEntry entry = (JarEntry) jarEntryEnum.nextElement();
				if (entry.isDirectory()) {
					String alias = "/" + entry.getName().substring( 0, entry.getName().length() - 1);
					servletManager.removeResource( alias);
					servletManager.addResources( alias, alias, httpContextStyle);
				}
			}
		} catch (IOException e) {
			logger.error( "io: " + e);
			e.printStackTrace();
		}
		return;
	}

	public static void setStyle( String name)
	{
		ServletManager servletManager = Activator.getServletManager();
		if( name.equals( "default")) {
			servletManager.addResources("/css","/resources/templates/layout/css");
			servletManager.addResources("/js","/resources/js");
			servletManager.addResources("/images", "/resources/images");
			return;
		}
		HttpContext httpContextStyle = new HttpContextStyle( name);
		try {
			JarFile styleJarFile = new JarFile( name);
			Enumeration<?> jarEntryEnum = styleJarFile.entries();
			while (jarEntryEnum.hasMoreElements()) {
				JarEntry entry = (JarEntry) jarEntryEnum.nextElement();
				if (entry.isDirectory()) {
					String alias = "/" + entry.getName().substring( 0, entry.getName().length() - 1);
					servletManager.removeResource( alias);
					servletManager.addResources( alias, alias, httpContextStyle);
				}
			}
		} catch (IOException e) {
			logger.error( "io: " + e);
			e.printStackTrace();
		}
		return;
	}
