我在脚本元素的代码生成主题中对此进行了说明。
I describe this in the Code generation for scripting elements topic.
多年前,JSP 2.0规范建议避免脚本元素。
Several years ago, the JSP 2.0 Specification recommended that scripting elements be avoided.
这是导言,用来识别以下用Load程序来处理的脚本元素。
These are preambles to identify that the following are script elements for the Load program to process.
使用Base不能创建带有脚本元素和操作的完整应用程序。
With Base, you do not have the ability to make a full application with scripted elements and operations.
注意如果脚本元素没有准确的被消意,过错就将发生。
Note that things start to break if script elements are not properly escaped.
标识了这三个脚本元素之一的开头部分后,还必须确定其结束位置。
Once it has identified the start of one of these three scripting elements, it also has to determine where it ends.
最重要的部分就是使用指向Google服务的URL设置脚本元素。
The important part is simply to set the script element with the URL to the Google service.
如果选择采用脚本元素则很容易犯这样的错误,因此最好彻底避免使用脚本元素。
It's easy to make mistakes if you choose to employ scripting elements, so they're best avoided all together.
我在这里给出了一首关于jsp脚本元素的打油诗(虽然有点不押韵),虽不太出名但非常切题。
I include here, in spite of its awkward rhyme and stumbling meter, a little-known but apt limerick on the topic of JSP scripting elements.
将脚本元素的sr c属性设置为指向包含来自查询字符串的适当小部件参数的Google服务。
Set the SRC attribute of the script element to point to the Google service with the appropriate gadget parameters from the query string.
尽管某些脚本元素目前并不支持,比方说enumerations,但是大部分功能对于开发者来说都是可用的。
Some scripting elements are not yet accessible though, like enumerations, but most of the functionality should be available.
大多数外壳都支持函数,这些函数本质上是微型脚本,您可以在其中放置命令和其他外壳脚本元素以执行特定的任务。
Most shells support functions, which are basically mini scripts into which you can place commands and other shell-scripted elements to perform a specific task.
XHTML链接元素通过一个xhtml脚本元素提供,因此只要使用到Firefox,就可以嵌入任何XML(当然,您可能会遇到模式兼容性的问题)。
It is provided in an XHTML script element, which you can embed in any arbitrary XML, as far as Firefox is concerned (you might run into separate problems with schema compliance, of course).
通过使用标签,文本元素还可以用于创建可在客户端执行的脚本。
The element can also be used to create scripts that are executed on the client side by using the tag.
为所使用的每一个文本元素指定id,这样脚本就可以提取它们。
Assign an id to each text element that you refer to, so your script can retrieve them.
对于每个非文本元素,为文本、脚本或音频说明(如替换文本、标题或视觉反馈)提供可供用户选择的等效项。
For each non-text element, provide a user-selectable equivalent for text, transcripts, or audio descriptions, such as alt text, captions, or visual feedback.
对于每个非文本元素,为文本、脚本或音频说明(如替换文本、标题或视觉反馈)提供可供用户选择的等效项。
For each non-text element, provide a user-selectable equivalent for text, transcripts, or audio descriptions, such as alt text, captions, or visual feedback.
应用推荐