The exported word address is controlled in the background, how do I choose the address in the browser box? The path exported in line 11 below is written in Java code, how to select an address in the browser pop-up box
1 configuration.setdirectoryfortemplateloading (New File (SourcePath)); The location where the FTL file exists 2 configuration.settemplateexceptionhandler (Templateexceptionhandler.ignore_handler); 3 Template t = null; 4 try {5 t = configuration.gettemplate ("EXPROTWORD.FTL");//File name 6 } catch (IOException e) {7 E.printsta Cktrace (); 8 } 9 SimpleDateFormat SF = new SimpleDateFormat ("Yyyymmddhhmmss"); //Storage target path one File outFile = new File ("d:/Meta Model Export Document _" + Sf.format (new Date ()) + ". Doc") , map<string, object> dataMap = new Hashmap<stri Ng, object> ();
Java Web Project uses Freemarker to export word