In each case, we avoid doing ugly hacks, such as prefixing the name of the function or class to make the name unique.
在任何情况下,我们应避免执行不恰当的修改,比如将函数名或类名作为前缀以生成独特的名称。
Each EAR application should have a unique string name for the class loader. Here, we use the application name in the class loader name to avoid repetition.
这里我们使用应用程序名作为类加载器的名称,以避免重复。
Keep in mind that attributes for an element must have unique names; in other words, an element cannot have two "id" or two "class" attributes.
记住,元素的属性必须具有惟一的名称,也就是说,一个元素不能有两个“id”或两个“class”属性。
应用推荐