当前位置: 动力学知识库 > 问答 > 编程问答 >

Name for servlets and filters

问题描述:

Is there a common name that i can use for servlets and filters? I want to configure them in a separate xml file but i don't want to name it 'servlets-and-filters.xml'. Is 'fragment' or 'fragments' an appropriate name?

网友答案:

To answer my own question: the simplest most appropriate name seems to be 'fragment'. Based on resources such as Oracle and IBM, you can safely say a fragment (e.g. web-fragment.xml) is similar to a classic deployment descriptor (web.xml) especially from the 1-to-many relation between one fragment and servlets / filters. In other words a fragment can contain many servlets and filters.

分享给朋友:
您可能感兴趣的文章:
随机阅读: