• Listing 1 shows what the handler of the custom tag should look like.

    清单1展示了定制标记的处理函数是什么样的。

    youdao

  • The JSP custom tag libraries are a collection of actions presented as tags.

    JSP定制标记库是用标记表示的一组行为的集合。

    youdao

  • In this series, we have examined the capabilities of the four JSTL custom tag libraries and their usage.

    在本系列中,我们讨论了4个JSTL定制标记库的功能及它们的使用。

    youdao

  • The custom tag also has an optional params attribute, which can be a single object or an array of objects.

    这个定制标记还有一个可选的 params属性,它可以是一个单一的对象或一个对象数组。

    youdao

  • We have also demonstrated that the majority of the attacks can be eliminated when a Web site uses a simple custom tag library to properly encode the dynamic content.

    我们还演示了当网站使用简单的定制标记库正确编码动态内容时,可以消除大多数攻击。

    youdao

  • The unified EL of JSP 2.1 enabled this feature for any custom JSP tag that may or may not use the JSF API.

    JSP 2.1统一后的EL对所有定制JSP标记(无论是否使用JSFAPI)启用这个特性。

    youdao

  • You can add custom classes, on the other hand, to any HTML tag that makes sense to you.

    另一方面,可以把定制类添加到对您有意义的任何HTML标记中。

    youdao

  • With all the prep work behind us, we're ready to use our custom tag within a JSP page.

    我们完成了所有这些准备工作后,我们就可以在JSP 页面中使用我们的自定义标记了。

    youdao

  • So the example usage of this custom tag passes validation.

    因此这个自定义标记的示例用法通过了验证。

    youdao

  • In that case, you want to design a custom tag that supports all these table types.

    在这种情况下,就需要设计一个支持所有这些表格类型的自定义标记。

    youdao

  • The issue was caused by a custom tag engine, that kept large object lists in memory.

    问题是由自定义标签引擎引起的,它会在内存中存放大型对象列表。

    youdao

  • How does the JSP container know which attributes of a custom tag are required and which are not?

    jsp容器如何知道自定义标记的哪些属性是必选的哪些是可选的?

    youdao

  • JSP pages, however, with their mix of code and custom tag libraries, cannot function well in this environment.

    然而,由于jsp页面将代码和自定义标记库相混合,因此无法在这种环境下良好地工作。

    youdao

  • All business logic should be in classes, and if you absolutely had to have code in your JSP page, you would wrap it up in a custom tag.

    所有的商业逻辑都应该在类中,如果你确实需要在你的JSP页面中包含代码,你应该用自定义标签来包装它。

    youdao

  • In this installment of J2EE pathfinder, you've walked through the process of creating a custom tag from scratch and implementing it in a JSP page.

    在J2EE探索者的这篇文章中,您经历了从头创建一个自定义标记并在jsp页面中实现它的过程。

    youdao

  • Next, we add a JSP declaration to any page that will need to use the custom tag library.

    然后,将JSP声明加入到所有需要使用自定义标记库的页面中。

    youdao

  • Now let's consider a more complex example, where we use the ability of a custom tag to generate more than one bean definition.

    现在让我们来考虑一个更加复杂的例子,其中我们要使用自定义标签的能力来产生不止一个bean定义。

    youdao

  • Perhaps as much as 80 percent of the custom tag functionality that you will need has already been created and standardized by the J2EE community.

    您所需要的自定义标记功能中也许有多达百分之八十已经由J2EE团体创建并标准化了。

    youdao

  • Here, I'll explain how to create a custom tag for table display that is flexible enough to handle different HTML controls, such as href, checkbox, radio button, text field, and combo box.

    我将介绍如何为表格显示创建自定义标记,让它有足够的灵活性以应付不同的HTML控件,如href、选择框、单选按钮、文本框和组合框。

    youdao

  • Next, we use select helper to create a custom HTML select tag with option values.

    接下来,使用selecthelper创建带有选项值的自定义HTML选择标记。

    youdao

  • Listing 18 shows the HelpOnFocusTag class, which implements the tag handler for the custom component.

    清单18展示了helponfocustag类,它实现自定义组件的标记处理程序。

    youdao

  • It finds what it needs to know about a custom tag by reading metadata about the tag.

    它通过读取标记的元数据来确定需要知道自定义标记的哪些信息。

    youdao

  • Your simple custom tag is coded and tested. Now you'll build a tag that's a wee bit more sophisticated.

    编写并测试过简单的自定义标记之后,现在要构建一个略微复杂一些的标记。

    youdao

  • When the container encounters a tag, it invokes the tag handler class associated with the custom tag, which is a process we'll talk more about later.

    当容器遇到一个标记时,它调用与这个自定义标记相关联的标记处理程序,我们将在后面更多地讨论这个过程。

    youdao

  • The use of a custom tag and associated tag library would allow the example above to be converted to that shown in Listing 6.

    使用自定义标记和相关的标记库允许把以上示例转换为清单6所示的内容。

    youdao

  • The last subsection shows how to implement a custom breadcrumb navigation tag, which uses this new service (part of the SPI).

    最后一个小节将演示如何实现自定义浏览路径记录导航标记,该标记将使用这个新服务(属于该 SPI的一部分)。

    youdao

  • It can be done either through a CONNECT tag, in which case the custom caching applies only to the component in question, or through a URL, in which case the custom caching applies to the entire page.

    定制高速缓存可以通过CONNECT标记实现,在这种情况下定制高速缓存只能用于组件请求,还可以通过一个URL实现,在这种情况下定制高速缓存可用于整个页面。

    youdao

  • Using the output of one custom tag as the input for another increases the tags' reusability.

    将一个定制标记的输出作为另一个定制标记的输入增加了标记的可重用性。

    youdao

  • Now all you have to do is create a TLD (tag Library Descriptor) file to register your custom tag, as shown in Listing 4.

    现在要做的全部工作就是创建一个TLD(标记库描述符)文件,以登记定制标记,如清单4所示。

    youdao

  • In the Shared Settings mode in the portlet, there is a drop-down box to select a service and to create custom search queries or tag filters for that service.

    在portlet中的SharedSettings模式下有一个下拉框,可以从中选择一个服务,并为那个服务创建定制的搜索查询或标记过滤器。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定