webx pipeline


pipeline

1. analyzeURL(分析URL的目的是取得target)
a. 通过 ServletUtil.getResourcePath(rundata.getRequest()).substring(component.getComponentPath().length())获取 pathInfo。
        b. 通过mappingRuleService.getMappedName(EXTENSION_INPUT, pathInfo)获取target。

2.choose> - 多重分支
很明显,“homepage”满足了第一个<when>所附带的条件:<target-extension-
condition extension="null, vm, jsp">,意思是target的后缀不存在(null)或
为“jsp”或为“vm”

3.<performAction> 执行action
本次请求未提供action参数,所以跳过该步骤。

4.<performTemplateScreen>查找并执行screen

5.<renderTemplate> - 渲染模板

猜你喜欢

转载自san-yun.iteye.com/blog/1184003