内容和属性声明不能依靠属性或元素上下文(许多xml语言用到这一点,但它们的DTD必须“允许过多东西”)。
Content and attribute declarations cannot depend on attributes or element context (many XML languages use that, but their DTDs have to "allow too much").
这里要注意的一点是,要始终使用MANDATORY或REQUIRED属性,而不是REQUIRES_NEW,除非您有足够的理由来使用它,类似审计示例中的那些理由。
The main point here is always to use either the MANDATORY or REQUIRED attribute instead of REQUIRES_NEW unless you have a reason to use it for reasons similar those to the audit example.
这是与基于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.).
应用推荐