|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StrutsStatics
Constants used by Struts. The constants can be used to get or set objects out of the action context or other collections.
Example:ActionContext.getContext().put(HTTP_REQUEST, request);
ActionContext context = ActionContext.getContext();
HttpServletRequest request = (HttpServletRequest)context.get(HTTP_REQUEST);
| Field Summary | |
|---|---|
static String |
HTTP_REQUEST
Constant for the HTTP request object. |
static String |
HTTP_RESPONSE
Constant for the HTTP response object. |
static String |
PAGE_CONTEXT
Constant for the JSP page context. |
static String |
SERVLET_CONTEXT
Constant for the servlet context object. |
static String |
SERVLET_DISPATCHER
Constant for an HTTP request dispatcher. |
static String |
STRUTS_ACTION_TAG_INVOCATION
Set as an attribute in the request to let other parts of the framework know that the invocation is happening inside an action tag |
static String |
STRUTS_PORTLET_CONTEXT
Constant for the PortletContext object |
| Field Detail |
|---|
static final String HTTP_REQUEST
static final String HTTP_RESPONSE
static final String SERVLET_DISPATCHER
request dispatcher.
static final String SERVLET_CONTEXT
servlet context object.
static final String PAGE_CONTEXT
page context.
static final String STRUTS_PORTLET_CONTEXT
static final String STRUTS_ACTION_TAG_INVOCATION
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||