可指定输入口属性。
为了区别工作者线程和UI线程,在例子程序的主入口点设置CurrentThread对象的名字属性为“ UIThread ”。
In order to distinguish worker threads from the UI thread, the main entry point for the sample application sets the Name property of the CurrentThread object to "UIThread."
这是与基于MVC的应用程序的主要区别,后者的交互入口点是一个servlet或一个具有一般属性的操作(例如urls及其参数、表单等)。
This is the main difference from MVC-based applications, where the entry point for interactions is a servlet or an action with general attributes (such as URLs, its parameters, forms, etc.).
应用推荐