Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/72.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中角括号百分比的用途是什么_Html_User Interface - Fatal编程技术网

html中角括号百分比的用途是什么

html中角括号百分比的用途是什么,html,user-interface,Html,User Interface,我只是想知道我是如何将一些html表格和数据导出到excel的,但我不知道它的功能是什么。 任何答案都将不胜感激 就像我在下面的代码中使用这些一样,我真的在使用asp吗 <body> <% String exportToExcel = request.getParameter("exportToExcel"); if (exportToExcel != null && exportToExcel.toString().equalsIgnoreCa

我只是想知道我是如何将一些html表格和数据导出到excel的,但我不知道它的功能是什么。 任何答案都将不胜感激

就像我在下面的代码中使用这些一样,我真的在使用asp吗

<body>
<%
    String exportToExcel = request.getParameter("exportToExcel");
    if (exportToExcel != null && exportToExcel.toString().equalsIgnoreCase("YES")) { //application/vnd.ms-excel
        response.setContentType("application/vnd.ms-excel"); //application/vnd.opentextformatsofficedocument.spreadsheetml.sheet
        response.setHeader("Content-Disposition", "inline; filename=" + "whatever.xls");
    }
%>

我是从这里得到的回答:。然后链接到另一个答案

简而言之,它们是在呈现页面时执行的代码呈现块。据我所知,它们是作为ASP.net框架一部分的表达式

更多信息:


编辑:正如其他人所评论的,我通过快速搜索找到了所有这些信息。

我投票将此问题作为主题外的问题结束,因为这些信息可以通过简单的搜索找到。您是否使用任何类型的模板引擎?这可能是任何东西…可能是