We can use the Tasks view as your own or a project-based to-do list, which allows you to tag code with items like ToDo, FixMe, Optimize, etc.
可以使用Tasks视图作为您自己或者基于项目的to - do列表,这将允许您用诸如ToDo、FixMe、Optimize之类的条目标记代码。
The JSP code of both tag files is presented later in this article.
两个标记文件的JSP代码将在本文的稍后部分给出。
Too many cooks: if you have to tag your code in a Version Control System and then hand it over to another team to compile, then yet another team to deploy, that's always going to be hard.
太多的厨师:如果你必须给你的代码在一个版本控制系统里打标签,提交给另一个团队去编译,然后再让另一个团队去部署,那会是很艰巨的任务。
It took less than 10k of JSP code to implement a set of tag files that produce the basic form elements: lists, text fields, radio buttons, check boxes, and submit buttons.
只需不到10k的JSP代码就可以实现一组标记文件,这些文件生成基本的表单元素:列表、文本字段、单选按钮、复选框和提交按钮。
The resulting page should include some form of tag library code that can display the content of a document.
结果页面应该包括一些格式的标签库代码,它们可以显示文档的内容。
JSP pages, however, with their mix of code and custom tag libraries, cannot function well in this environment.
然而,由于jsp页面将代码和自定义标记库相混合,因此无法在这种环境下良好地工作。
This code demonstrates the use of the tag instead of the tag.
这些代码演示的是标记的用法,而非 标记。
Here's the code for Step 5 without the converter tag.
下面是第5步的不带转换器标签的代码。
A JSP tag is simply a way of abstracting out code from a JSP file.
JSP标记只是将代码从JSP文件中抽取出来的一种方式。
Tag libraries allow custom tags (for example, ) to be added to a JSP page, which at runtime are resolved into code fragments in, well, tag libraries.
标记库允许将自定义标记(例如 )添加到JSP页面,然后在运行时在标记库内将其解析为代码片段。
This code shows an expanded form of the tag in Listing 2.
该代码展示了清单 2中的标记的展开形式。
This code fragment can be reduced back to a single line by moving the JSTL code into a reusable tag file that outputs the element.
通过将JSTL代码移动到输出元素的可重用标记文件中,就可以将此代码片段缩减为一行。
But there's another valid way to handle this, one that relies on only client-side code: the good old-fashioned tag.
但是此处还有另一种有效方式,这种方式只依赖客户端代码:老式的标记。
Listing 3 shows the window text code from Listing 2 with an added ARIA "live" tag.
清单3所示的窗口文本代码在清单2的基础上添加了一个ARIA“活动”标记。
The example code in listing 1 shows a full convertor tag.
清单1中的示例代码显示了一个完整的转换器标记。
Figure 3 displays the general concept of pulling the code from the JSP page and putting into a JSP tag.
图3显示了从JSP网页中抽取代码并将它们放入JS p标记中的一般概念。
The code in listing 7 shows a sample of the tag that you need to generate.
清单7中的代码显示需要生成的标记的一个示例。
Using the right tag for the job is essential, and search engines love semantic code.
——在工作中适用正确的标签能帮助你提高效率,而且搜索引擎偏好有意义的代码。
Then, for each movie tag, the code retrieves both the URL and the title.
对每个电影标签,代码检索URL和标题。
The second section of the code, within the tag, retrieves that tag according to its unique ID.
代码中的第二部分,在标签中,根据单独的ID获得了该标签。
Notice that this typical HTML page includes an applet tag that calls the applet code.
注意,通常HTML页面都包含用来调用applet代码的applet标签。
The toys have a tag with a code that you type in to meet the virtual edition of your pet, or perhaps to meet with the pets of other children.
这些玩具有着已编号的标签,让你输入然后获得虚拟版本的宠物,或看见其他孩子的宠物。
One sample code shows a photograph of coloured jelly beans that includes Tag data.
比如一张彩色的吉利豆的图片里就包含了Tag码的数据.
which means, "any tag from this point down," where this point is the tag the code is currently looking at.
该符号表示 “从这里开始往下的所有标记”,其中的这里 也就是代码当前看到的 标记。
To demonstrate this, I've upgraded the code within the xsl:result-document tag to provide more information about the results of the test (see Listing 4).
作为一个例子,我修改了xsl:result-document标签中的代码,以便提供关于测试结果的更多信息(参见清单 4)。
Some people think of JSP tags as macros for JSP files, where the code for the tag is contained in the servlet.
有人将JSP标记看作是JSP文件的宏,其中用于这个标记的代码包含在servlet中。
When the code finds the rb_title tag, it specifies the font style to use (bold, red, and a larger font).
代码发现rb _ title标签时,它指定所用的字体样式(粗体、红色、较大字号)。
And it is in those cases that JSP technology cannot help; JSP pages must always be evaluated at runtime to remove the JSP code scriptlets and tag libraries.
而JSP技术在这些情况下无能为力;Jsp页面必须始终在运行时进行处理,以去掉JSP代码scriptlets和标记库。
The first thing to do is tag the bug-fixed code.
首先要做的是给修复 bug 之后的代码加上版本标记。
If you want to build additional Web components, it is a good idea to place the common code fragments into reusable tag files.
如果想要构建额外的Web组件,最好把公共的代码片段放到可重用的标记文件中。
应用推荐