请问这句英语应该怎样翻译

来源:百度知道 编辑:UC知道 时间:2024/05/27 17:33:26
When an Action instance is first created, the controller will call setServlet with a non-null argument to identify the servlet instance to which this Action is attached.
这句话是什么意思,其次我想知道“to which this Action is attached”怎么去分析。
不懂,还有前面的with也不明白.请把这句话翻译一遍.

就是当第一次生成一个 Action 动作实例的时候,依附于这个动作,控制器就会调用非空参数 setServlet ()这个方法去初始化这个servlet实例
注:(实例就是对象的意思,其本质的意思就是用一个动作调用Servlert类的setServlet方法来设置已生成的servlet对象的元素)

就是 which this action is attached to

依附于。。。。的动作 懂了不