// ConfigWeb
Resource trg = config.getConfigDir().getRealResource("context").getRealResource(realpath);
if(trg.exists()) trg.remove(true);
Resource p = trg.getParentResource();
if(!p.isDirectory()) p.createDirectory(true);
IOUtil.copy(is, trg.getOutputStream(false), closeStream,true);
filesDeployed.add(trg);
_store((ConfigImpl)config);
}
public boolean removeContext(Config config, boolean store,String... realpathes) throws PageException, IOException, SAXException {