应用了<Portlet:DefineObjects> tag
将会在页面得到下列对象
JSR 168 (Portlet 1.0)
In JSR 168 only three variables are defined:
* RenderRequest renderRequest
* RenderResponse renderResponse
* PortletConfig portletConfig
JSR 268 (Portlet 2.0)
In JSR 286 following variables are defined:
* RenderRequest renderRequest and RenderResponse renderResponse (if the JSP is included from render method)
* ResourceRequest resourceRequest and ResourceResponse resourceResponse (if the JSP is included from serveResource method)
* ActionRequest actionRequest and ActionResponse actionResponse (if the JSP is included from processAction method)
* EventRequest eventRequest and EventResponse eventResponse (if the JSP is included from processEvent method)
* PortletConfig portletConfig
* PortletSession portletSession (returns an existing session or null if no session exists)
* Map<String, Object> portletSessionScope (provides access to the portletSession attributes)
* PortletPreferences portletPreferences (provides access to the portlet preferences)
* Map<String, String[]> portletPreferencesValues (provides access to the portlet preferences as a Map)
将会在页面得到下列对象
JSR 168 (Portlet 1.0)
In JSR 168 only three variables are defined:
* RenderRequest renderRequest
* RenderResponse renderResponse
* PortletConfig portletConfig
JSR 268 (Portlet 2.0)
In JSR 286 following variables are defined:
* RenderRequest renderRequest and RenderResponse renderResponse (if the JSP is included from render method)
* ResourceRequest resourceRequest and ResourceResponse resourceResponse (if the JSP is included from serveResource method)
* ActionRequest actionRequest and ActionResponse actionResponse (if the JSP is included from processAction method)
* EventRequest eventRequest and EventResponse eventResponse (if the JSP is included from processEvent method)
* PortletConfig portletConfig
* PortletSession portletSession (returns an existing session or null if no session exists)
* Map<String, Object> portletSessionScope (provides access to the portletSession attributes)
* PortletPreferences portletPreferences (provides access to the portlet preferences)
* Map<String, String[]> portletPreferencesValues (provides access to the portlet preferences as a Map)