code: public static void actionTouch(PageContext pageContext, SecurityManager securityManager, Resource file, String serverPassword, boolean createPath, Object acl, int mode,
  	    String attributes) throws PageException {
  	checkFile(pageContext, securityManager, file, serverPassword, createPath, true, true, true);
  
  	setACL(pageContext, file, acl);
  	try {
  	    ResourceUtil.touch(file);
  	}
  	catch (IOException e) {
  
  	    throw new ApplicationException("can't touch file " + file.getAbsolutePath(), e.getMessage());
  	}
  	setMode(file, mode);
  	setAttributes(file, attributes);
      }
docs: write to the source file
  
  @param attributes
  @param mode
  @param acl
  @param serverPassword, booleancreatePath
  @throws PageException