Select all valid values for the <body-content> attribute in a TLD? [Check all correct answers]
1. empty 2. JSP 3. dependent 4. HTML 5. code
Answers given by j2eecertificate.com is : 1 & 2.
According to me "JSP" is invalid. I checked the spec, it gave the following examplination
<Spec>
A TLD is invalid if it specifies JSP as the value for
<body-content> for a tag whose handler implements the SimpleTag interface. JSP containers are recommended to but not required to produce an error if JSP is specified in this case.
</spec>
So does this mean the JSP can be one of the values in the <Body-content> attribute.
shashank
http://java.itags.org/java-certification/9145/
其实这个问题想了好久,怎么才能融会贯通?看规范真的很重要。
分享到:
相关推荐
3. **构造请求体**:在C#中,你需要手动构造请求体,包括每个部分的开始和结束边界、Content-Disposition头部(指定字段名或文件名)、Content-Type头部(根据数据类型),以及实际的数据内容。 4. **文件上传**:...
7.rem 相对于根元素(html,body)乘以倍数 8.% 相对单位 2.颜色单位(取值) 1.颜色英文单词 blue,red,green,yellow.... 2.rgb(r,g,b) r:red; g:green; b:blue; r,g,b:0-255 rgb(0-255,0-255,0-255) 3....
$('body').on('input', '.dynamicInput', function() { var inputValue = $(this).val(); // 处理输入值 }); ``` 总之,jQuery提供了一套强大的工具来处理网页上的值和数据。正确理解和运用这些方法,可以极大地...
- **取值**: - `none`:默认值,对象不会浮动。 - `left`:对象向左浮动,文本或其他元素会围绕在其右侧。 - `right`:对象向右浮动,文本或其他元素会围绕在其左侧。 **示例**:一行两列布局 ```html 这里...
复制代码 代码如下: 1,Content- Type取值为application/x-www-form-urlencoded时,php会将http请求body相应数据会填入到数组$_POST,填入到$_POST数组中的数据是进行urldecode()解析的结果。(其实,除了该Content...
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> function loadXMLDoc() { var xmlhttp; if (window.XMLHttpRequest) { ...
今天在linux中使用curl发送一个post请求时,带有json的数据,在发送时发现json中的变量没有解析出来 如下 curl -i -X POST -H 'Content-type':'application/json' -d {B...curl -i -X POST -H 'Content-type':'applic
取值范围从大于0到10。 - **minimum-scale** 和 **maximum-scale**: 分别表示用户可缩放的最小比例和最大比例。 - **user-scalable**: 用户是否能够手动缩放页面。可以设置为`yes`或`no`。 ##### 示例: ```html ...
- **取值**: - `separate`:默认值,每个单元格的边框都是独立的。 - `collapse`:合并边框,使表格看起来更紧凑。 - **示例代码**: ```css table { border-collapse: collapse; } ``` 2. **设置`...
- **值**: 属性的具体取值。 - **合法性**: 必须是合法的。 - **格式**: 常常需要加上双引号。 - **空格**: 浏览器通常会忽略标签之间的多余空格或换行符,这些仅用于源文件的排版。 ##### 2.1.3 HTML语法结构 -...
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Bootstrap Datepicker重置示例 <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker...
- `content`:定义元信息的具体内容。 - **链接关系**: - `<link>`:定义文档与其他资源的关系。 - `rel`:指定链接类型,如`stylesheet`。 - `rev`:反向链接类型,较少使用。 - `href`:指向资源的URL。 -...
在本文中,我们将深入探讨如何使用layUI框架的layer.open方法在content中打开一个数据表格,并获取选定值以便进行后续处理。layUI是一款基于 layui 的前端 UI 框架,它提供了丰富的组件和便捷的API,包括弹层、表单...
在“flexbox定制bd”这个主题中,我们可以深入探讨Flexbox在构建响应式网页布局,特别是在设计头部(bd,通常指body的头部)时的应用。 在CSS中,传统的布局方式如流式布局、网格布局或定位布局,对于复杂和响应式...
justify-content: space-between; } ``` 以上介绍了CSS的基本概念、语法结构以及几种常见的加入HTML的方法,同时也列举了一些常用的样式属性及其取值。通过学习这些基础知识,你可以开始构建美观且功能丰富的...
- `size`:字体大小,取值范围为1到7。 - **指定字体**: ```html 宋体">文本 ``` - **参数说明**: - `face`:指定使用的字体名称。 - **文字颜色**: ```html 文本 ``` - **参数说明**: - `color`:...
<meta http-equiv="description" content="This is my page"> <meta http-equiv="refresh" content="0;URL=index.do"> <body> <p>Supported formats: <%= acceptHeader %></p> </body> ``` 这段代码首先...
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> <title>table-break-word <body> <td width="400px" style="table-layout: fixed; word-wrap: break-word; word-break: break-all; color:...
Transfer-Encoding有两种取值:chunked和identity。Chunked方式是将要发送的数据切割成一系列的块数据传输,而Identity方式是将数据传输时不做任何处理,自身的本质数据形式传输。 Content-Encoding和Transfer-...