lah.com/fish/main/member/MemberEdit.list
Request 2: | http://www.blah.com/fish/main/member/MemberEdit.do?Operation=List |
URI Mapping String calculated as: | /main/member/MemberEdit |
Explicit Mapping
An Action may declare an explicit mapping to a URI Mapping String simply by declaring a field of the form (for example) :
public static final String EXPLICIT_URI_MAPPING = "/translate/basetext/BaseTextEdit";
Explicit mappings override implicit mappings.
Fine-Grained Security
Fine-grained security allows
<security-constraint> items to be specifed for various extensions, where the extensions represent various action verbs, such as
.list,
.change, and so on. In that case, the conventional
.do is replaced with several different extensions. See the User Guide for more information on fine-grained security.
Looking Up Action, Given URI
It is a common requirement to look up an action class, given a URI. Various sources can be used to perform that task:
- the application's javadoc listing of Constant Field Values can be quickly searched for an explicit EXPLICIT_URI_MAPPING
- all mappings are logged upon startup at CONFIG level
- the source code itself can be searched, if necessary