Listing 4 shows the context parameter in Web.xml.
清单4展示了Web . xml中的上下文参数。
Listing 4. The context parameter for the servlet.
清单4.servlet的上下文参数。
Class to contain a condition rule that checks whether a context parameter exists.
包含用于检查上下文参数是否存在的条件规则的类。
As in the design pattern described by Gamma et al., the evaluate method takes a Context parameter.
在Gamma等描述的设计模式中,evaluate方法使用Context参数。
Figure 8 shows a prototypical section of the rule flow that would make use of this execution context parameter.
图8显示了会利用该执行上下文参数的规则流的一个原型部分。
The above revised web.xml now defines AnnotationConfigWebApplicationContext context class as part of context parameter and servlet elements.
以上修改后的web . xml现在定义了AnnotationConfigWebApplicationContext上下文类,并将其作为上下文参数和servlet元素的一部分。
You also need to shift the configuration of the Facelets view handler from the faces-config.xml file to the web.xml, where it is defined in a servlet context parameter.
此外,还需要将Facelets视图处理程序的配置从faces-config.xml文件移到web.xml,在后者中,该配置在 servlet 上下文参数中定义。
The direction of this execution context parameter should be set as IN_OUT, since the information it carries goes back and forth between the calling component and the rule service.
这个执行上下文参数的方向应设置为IN_OUT,因为它携带的信息在调用方组件和规则服务之间来回传送。
The parameter value is exactly the value you would enter in the task editor, including context variables.
参数值正是您要在任务编辑器中输入的值,其中包括上下文变量。
In the code of a complex application, it should be possible to clearly identify the scope, or context, associated with any given parameter specification.
在复杂应用程序的代码中,应该有可能清晰地确定出与给定参数规范相关的作用域或环境。
This method returns a message context property if one has been set, otherwise it returns the value of the defined mediation parameter.
如果设置了消息上下文属性,此方法会返回此属性,否则它将返回定义的中介参数的值。
The set of users to be removed is entered as verb parameter, preferably using context variables.
要删除的该组用户作为谓词参数输入,但最好使用上下文变量。
By using a "drill-through" definition that contains a parameter defined by the context of the link, you do not need to create a link for each profession individually.
通过使用“穿透钻取”定义(其中包含一个由链接的上下文定义的参数)避免需要为每种职业单独定义一个链接。
A parameter whose name is not prefixed by a context qualifier would be assumed to have global scope and refer to the higher level in the hierarchy (Application).
将假定无环境限定符作为名称前缀的参数有全局作用域,并且指的是层次结构中的较高层(应用程序)。
To obtain this context, we first need to bind to the endpoint either on the local or remote host, as specified by the input binding parameter.
为了获得这个上下文,首先需要绑定由输入绑定参数指定的本地或远程主机上的端点。
The set of users to be removed is entered as a verb parameter, preferably using context variables.
要删除的该组用户作为谓词参数输入,但最好使用上下文变量。
Instead, the names of the input and output pins on the actions are labeled by a parameter, variable, or structural feature in the context classifier (the class owning the activity) that is in scope.
相反,操作上输入与输出的名字,会标上范围内背景标识符(拥有活动的类)中的参数、变量或者结构性特性。
A value is bound to a parameter in the context of an executable query.
值绑定到可执行查询上下文中的参数。
Parameter data can reference context variables like % wf: process.starter %.
参数数据可以参考上下文变量,如%wf:process . starter %。
A basic type element surrounded by a Parameter specification defines a new object of the corresponding type within the current context.
由Parameter规范包含的基本类型元素定义了当前环境中相应类型的新对象。
Each <context-param> tag in Listing 1 defines a parameter that either Acegi or JSF requires during startup or execution.
清单1中的每个 <context-param>标记定义一个参数,供Acegi或JSF在启动或执行期间使用。
The added constructor code USES a signature defined by AspectWerkz 2.0 to get access to context information, which includes any parameter definitions for the aspect.
增加的构造函数代码使用AspectWerkz 2.0定义的一个签名来访问上下文信息,这些信息包括为方面定义的所有参数。
As for the JNDI context, it is common practice to store the parameter strings (Lines 2 and 3 of Listing 2) in a properties file and read them in as needed.
至于jndi上下文,通常的做法是将参数字符串(清单2中第二和第三行)存储在特性文件中然后在需要时读取。
We could use the context object to obtain the calling request, look for the named parameter "operand", obtain its URI and issue a sub-request for that resource.
我们可以使用上下文对象来获得调用的请求,寻找命名参数“operand”,获得其uri并对该资源发出一个子请求。
The contextConfigLocation parameter defines the Spring configurations files to load, as shown in the servlet context below.
contextConfigLocation参数定义了要装入的Spring配置文件,如下面的servlet上下文所示。
The first constructor parameter specifies the initial context that the populator bean uses to read the business roles of an authenticated user.
构造函数的第一个参数指定了populatorbean用来读取经过验证用户的业务角色的初始上下文。
The first parameter to this function is usually (syntax k) which is a little magic formula that helps the syntax converter get the context correct.
这个函数的第一个参数往往是 (syntaxk),这是一个小公式,帮助语法转换器获得正确的上下文。
The third parameter is a reference to the same initial context that I introduced while discussing the BindAuthenticator constructor in Listing 5.
第三个参数是对讨论清单5中的BindAuthenticator构造函数时引入的相同初始上下文的引用。
Since the report code itself cannot determine in which context it is used, we added a Boolean parameter named ForPrint to the report.
由于报表的代码本身不能确定是在什么环境中被使用,我们就在报表中增加了一个名为ForPrint的布尔型参数。
The search method takes two parameters: the first parameter is the search context you authored in Step 3 of this exercise and the second parameter is the collection of two attributes from Step 4.
search方法采用了两个参数:第一个参数是在练习的第3步创建的搜索上下文,第二个参数是第4步的两个属性的集合。
应用推荐