scriptlet

scriptlet

 英

  • 网络脚本段;脚本小程序;脚本片段

例句

Other changes in Listing 1 have to do with the code being a JSP tag rather than a scriptlet operating within a page.

清单1其他更改更多作为一个JSP标记代码有关一个页面运行scriptlet没有关系

You do still have the very small scriptlet on the body declaration.

页面声明仍然一个非常脚本

A JSP container handles scriptlets, expressions, and declarations each in a different way.

JSP容器scriptlet表达声明处理相同

Note that when the response is generated, the JSP scriptlet tags will be replaced with the time stamp result.

注意生成响应JSPscriptlet标记时间结果取代

The scriptlet example in Listing 1, for instance, is critically dependent upon proper matching of braces.

例如清单1scriptlet示例严格依赖括号正确匹配

In particular, it is fairly common for page authors to resort to scriptlets to implement iterative or conditional content.

尤其是页面创作人员借助scriptlet实现迭代条件内容

In general, you should not put scriptlet code into your JSPs, and instead use tags for those tasks.

通常Scriptlet代码放置JSP使用标记完成这些任务

The scriptlet to end it is really simple, but often gets forgotten (or put in the wrong place).

结尾那个scriptlet确实简单但是常常遗忘错误位置)。

The only way to reuse a scriptlet is by copy-and-paste.

重用Scriptlet惟一方式就是复制-粘贴”。

The values extracted in the JSP scriptlet (in Listing 18) are placed in the hidden fields.

JSP标签提取清单18)设置隐藏

The Java scriptlet handles the logic to figure out which albums to show.

Javascriptlet处理逻辑查明显示专辑

The scriptlet to start the loop is rather complex.

开始循环那个scriptlet相当复杂

You used a JSP scriptlet to query and filter the data, and then to write the XML to the page.

使用JSP脚本查询筛选数据然后XML写入页面

They aren't the right way to do things, but they are (unfortunately) the easy way.

scriptlet并不是正确方法不幸一种容易实现方法

You should now see a scriptlet icon appear on the page.

现在看到页面上出现一个scriptlet图标

The most popular example of this is using scriptlets in JSP code.

常见一个例子JSP代码使用scriptlet

The next line contains a scriptlet that calls the

一行包含scriptlet调用

full JSP scriptlet support, outside code changes immediately available in scriptlets

全面支持JSPscriptlet外部代码变化scriptlet立即生效

JSP scriptlet for a hidden field with

隐藏字段定义一个

We add the Java code to the file between scriptlet tags

我们Java代码添加文件scriptlet标记

The line in the example is equivalent to the following line using the standard scriptlet tag

示例一行等价使用标准scriptlet标记以下一行