英译汉-计算机英语翻译

来源:百度知道 编辑:UC知道 时间:2024/06/05 21:23:37
JSP.2.7.1 The page Directive
The page directive defines a number of page-dependent attributes and communicates these to the JSP container.

A translation unit (JSP source file and any files included via the include directive) can contain more than one instance of the page directive; all the attributes will apply to the complete translation unit (i.e., page directives are position independent). However, there shall be only one occurrence of any attribute/value defined by this directive in a given translation unit with the exception of the import attribute; multiple uses of this attribute are cumulative (with ordered set union semantics). Other such multiple attribute/value (re)definitions result in a fatal translation error.

The attribute/value namespace is reserved for use by this, and subsequent, JSP specification(s).

Unrecognized attributes or values result in fatal translation errors.

Examples
The following directive provides some

jsp.2.7.1页指令
页面指令确定了若干页依赖性属性和沟通,这给JSP容器。

翻译组( JSP中的源文件和任何文件包括经include指令) ,可包含一个以上的实例,在页面指令;所有属性将适用于完全翻译股(即一页指令立场独立) 。不过,有应只有一个时间发生的任何属性/值所确定的这一指示,在一个特定的翻译单位除与进口属性;多种用途的这一本质属性,是累积(与序集联盟语义) 。其他诸如多属性/值(转口)的定义,产生一种致命的翻译错误。

属性/值命名空间预留使用,并随后, JSP技术规格( ) 。

未被认识的属性或价值造成致命的翻译错误。

例子
下列指令提供了一些用户可见这方面的资料, JSP页面:
< % @网页资讯= "我最新的JSP例子v1.1 " % >
以下指令要求,没有缓冲,显示网页是线程安全,并提供了一个错误页面。
< % @页面缓冲区= "无" isthreadsafe = "是"
errorpage = " / oops.jsp " % >
以下指令表明,该脚本语言是基于Java的,这类型宣布在包装com.myco是直接提供给脚本代码,并应设置缓冲的16k应当使用。

< % @ page语言= "爪哇"进口= " com.myco .* "缓冲区= " 16k " % >

= =无语了。。

i faint