A mechanism to expose page directive attributes to the scripting environment.
用于将页指令属性公开给脚本环境的机制。
You typically set a value for this property in the page directive or by overriding the property.
通常在页面指令中或通过重写属性设置此属性的值。
To do this, you can declare that your JSP page USES a separate page to handle error messages. This is accomplished by including the following page directive anywhere in your JSP page.
要实现这一功能,您可以声明,您的jsp页面使用一个单独的页面来处理错误消息。
Therefore, when you choose to preserve the form and query string collection of the original page, you must set the EnableViewStateMac attribute of the page directive to False for the destination page.
因此,如果要保留原始页面的表单数据和查询字符串集合,必须把目标页面page指令的EnableViewStateMac属性设置成False。
In order for the ErrorMessage.jsp page to be able to act as an error page, this directive must appear somewhere in the page.
为了使用ErrorMessage .jsp页面能够作为一个错误页面,这个指令必须出现在页面的某个地方。
Recall that nameclass.jsp was statically included in our JSP page exactly where the JSP include directive was located.
我们在前面将nameclass . js p以静态方式包括到js p页中jspinclude指令所在的位置。
To make this portal JSP tag available for our JSP we added the tag library directive, taglib, at the very beginning of our JSP page. As shown in the following code, all the engine.tld
为了让该门户JSP标记可用于我们的JSP 中,我们在 JSP页面的最开始位置添加标记库指示taglib 。
Use the taglib directive at the very beginning of the JSP page to make all of the engine.tld tags available to the rest of the JSP with the prefix.wps
在JSP页面的最开始的地方使用taglib 指示来使所有的 engine.tld标记可用于剩余的带有prefix.wps 的 JSP 页面。
Use the taglib tag library directive at the very beginning of the JSP page to make all of the engine.tld tags available to the rest of the JSP with the prefix.wps.
在JSP页面的最前端使用taglib标记库指示来使所有的 engine.tld 标记可用于剩余的带有 prefix.wps 的JSP 页面。
The JSP container will see <%@ and will then look for a valid JSP directive name, such as "include" or "page."
JSP容器将识别 <%@,并将随后查找有效的 JSP指令名,如“include”或“page”。
In order for a JSP page to function as an error page, it must include a directive that declares the page to be a special page designed to handle errors, as follows.
为了使一个JSP页面能够作为一个错误页面,它必须包含一个指令来声明这个页面是指定用来处理错误的特殊页面,指令如下。
This directive configures the page to be cached. The.
此指令配置页面以进行缓存。
This page will explain how one can write insecure code with this directive but keep in mind that the directive itself isn't insecure but rather it's the misuse of it.
本页解释了一个人如何写安全代码使用这个指令,但记住指令本身不是不安全的,除非当它被错误使用时。
In order to save ourselves from a separate menu entry directive, we can use the menu and title attribute to tell the system under which menu the page will be available.
为了保护我们自己免于单独的菜单进入指令,我们能使用菜单和标题告诉系统在那个菜单下的那页将被提供。
In order to save ourselves from a separate menu entry directive, we can use the menu and title attribute to tell the system under which menu the page will be available.
为了保护我们自己免于单独的菜单进入指令,我们能使用菜单和标题告诉系统在那个菜单下的那页将被提供。
应用推荐