Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 JSP Portlets 的新手。
我专注于这些 Portlet 的流程并想知道:
我假设它是这样工作的:
portlet.xml --> JSPPortlet(扩展通用 Portlet)--> doDispatch() --> doView()
这个流程正确吗?
如果这不正确,请告诉我原因
我相信这是render -> doDispatch -> do<Mode>调用的模式方法取决于PortletRequest(默认查看)中设置的模式的地方。该render方法是接口公开的唯一方法javax.portlet.Portlet。
render -> doDispatch -> do<Mode>
PortletRequest
render
javax.portlet.Portlet