• Listing 3 shows how Action class handles exceptions.

    清单3展示了action类是如何处理异常的。

    youdao

  • Registering the new action class with the Struts configuration

    使用Struts配置注册新的action类

    youdao

  • Listing 5. struts-config.xml snippet showing action class path mapping.

    清单5 .struts - config . xml代码片段显示了动作类路径映射。

    youdao

  • Determines what Action class the Controller calls. The struts-config.xml.

    struts - config . xml确定Controller调用哪个action类。

    youdao

  • Write the Action class to display the data onto the UI, as shown in Listing 1.

    编写action类使数据在UI中显示,如清单1所示。

    youdao

  • Modify the Action class and add code for the default value, as shown in Listing 4.

    修改action类,并添加默认值的代码,如清单4所示。

    youdao

  • The name of the list variables in JSP must match the name given in the Action class.

    JS p中的列表变量必须匹配action类中的名称。

    youdao

  • When a Struts action takes place, its action class passes data to the property broker.

    当一个Struts行为发生以后,它的行为类就会将数据传递给这个属性代理。

    youdao

  • The new action class that you created needs to be registered with the Struts configuration.

    您创建的新action类需要注册到Struts配置。

    youdao

  • You've now created an action class that is the entry point when a property change has occurred.

    现在,您已经创建了发生属性更改时作为入口点的操作类。

    youdao

  • Your new action class USES a resolver class that processes the request and builds the Atom feed.

    新的action类使用一个resolver类处理请求并构建Atom提要。

    youdao

  • In Figure 2, the action class sets the values of two variables using getter and setter methods.

    图2中,action类使用getter和setter方法设置两个变量的值。

    youdao

  • Our abstract action class will need to change to get the User object that WebSphere Portal maintains.

    我们的抽象操作类需要改成获取WebSpherePortal维护的User对象。

    youdao

  • By using getter and setter methods, the Action class will save the user values onto the ValueStack.

    通过使用getter和setter方法,Action方法将把用户值保存到ValueStack中。

    youdao

  • The abstract action class extends org.apache.struts.action.Action and implements the execute method.

    抽象操作类继承了org.apache.struts.action.Action并实现了execute 方法。

    youdao

  • The mapping primarily consists of the URI called by client and the action class which does the processing.

    映射主要包括客户端调用的URI和进行处理的动作类。

    youdao

  • Intelligent naming of HTML input fields updated by users negates writing complex code in the action class.

    用户更新的HTML输入字段的智能命名消除了操作类中的复杂编码。

    youdao

  • We need to add an attribute type ClientPortfolioDetailsBean in the action class, along with its get method.

    需要在操作类中添加属性类型ClientPortfolioDetailsBean及其get方法。

    youdao

  • On Submit, the success message is shown from the action class representing the invocation of backend service.

    提交时,动作类显示成功消息,表示后端服务的调用。

    youdao

  • When the JSP page is loaded, it calls the Action class, which ACTS as a Controller in the MVC design pattern.

    JS p页被加载时,它就调用action类,这个类在MVC设计模式中充当控制器角色。

    youdao

  • The Controller looks at the incoming event and dispatches the request to an Action class. The struts-config.xml.

    控制器查看输入事件并将请求分派给某个action类。

    youdao

  • This practice's main advantage is that it avoids code redundancy in every Action class that handles ActionErrors.

    这一实践主要的优势是:避免了每个处理 ActionErrors 的Action类中的代码冗余。

    youdao

  • The action class is responsible to generate the output as XML using the XMLBindingService available in the superclass.

    动作类负责使用超类中的XMLBindingService以XML形式生成输出。

    youdao

  • I implemented one form class (Listing 10) and one form action class (Listing 11) to facilitate the Add User page flow.

    我实现了一个表单类(清单10)和一个表单操作类(清单11),以便于添加user页面流。

    youdao

  • A Struts action is an instance of an action class that implements a portion of a Web application and returns an object.

    Struts动作是action类的一个实例,action类实现Web应用程序的portion并返回对象。

    youdao

  • As I mentioned in my previous article, the Action class doesn't do much compared to the other components of this recipe.

    正像我在前一篇文章提到过的,action类比起这个诀窍中的其他组件来说,做的工作并不多。

    youdao

  • A snippet of the Action class code shown in Listing 1 illustrates how the Model service is called from the Action class.

    清单1中所示的一小段action类代码说明了如何从action类中调用模型服务。

    youdao

  • Modify the execute method of OwnerAction to code your logic, (every action class must implement the execute method).

    请修改oweneraction类的execute方法来实现您的逻辑,(每个action类都必须实现execute方法)。

    youdao

  • The servlet class also ensures that when the request reaches the action class it is over a protected servlet path (/myatom).

    servlet类还确保在请求到达action 类时,它通过一个受保护的 servlet路径(/myatom)。

    youdao

  • You can use Dependency Injection (JSR-330) in action classes to inject a session object into a field of the action class.

    你可以在Action类中使用依赖注入(JSR- 330)将会话对象注入到Action类中的属性上。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定