String path = tmpArray[1];
// 对视图名称进行处理(添加前后缀)
// path = this.getViewNamePrefix() + path + this.getViewNameSuffix();
request.setAttribute(WebContext.CONST_PATH_NAME, path);
PluginJspDispatchServlet pluginJspDispatchServlet = pluginNameServletMap
.get(pluginName);
if (pluginJspDispatchServlet == null) {
Bundle bundle = OsgiContext.getBundleByName(pluginName);
pluginJspDispatchServlet = createNewPluginJspDispatchServlet(bundle);
pluginNameServletMap.put(pluginName, pluginJspDispatchServlet);
}
try {
pluginJspDispatchServlet.service(request, response);
} catch (Exception ex) {
throw new RuntimeException(ex);
}
}