Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/83.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/spring-boot/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
另存为-html thymeleaf_Html_Spring Boot_Thymeleaf - Fatal编程技术网

另存为-html thymeleaf

另存为-html thymeleaf,html,spring-boot,thymeleaf,Html,Spring Boot,Thymeleaf,我们需要开发一个类似于下面的应用程序 在网页上,要求用户选择地图中的参数。用户选择参数后,此映射将保存在.DAT文件中。现在我将它保存在C:/Users/Application中。但我希望用户选择要保存的目录。我试图使用,但它需要在目录中的一个文件 是否有任何方法可以让用户指定保存此.DAT文件的自己的目录 类似于SaveAs..的内容网页无法选择用户下载返回文件的位置。对于某些文件类型,浏览器甚至可能显示文件而不是下载文件(例如PDF文件)

我们需要开发一个类似于下面的应用程序

在网页上,要求用户选择地图中的参数。用户选择参数后,此映射将保存在.DAT文件中。现在我将它保存在C:/Users/Application中。但我希望用户选择要保存的目录。我试图使用,但它需要在目录中的一个文件

是否有任何方法可以让用户指定保存此.DAT文件的自己的目录


类似于SaveAs..

的内容网页无法选择用户下载返回文件的位置。对于某些文件类型,浏览器甚至可能显示文件而不是下载文件(例如PDF文件)