|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
StrutsPrepareFilter and
StrutsExecuteFilter to use other Servlet filters that need access to
the ActionContextstruts.properties where the altSyntax flag is defined.
Map interface to handle a collection of attributes and
init parameters in a ServletContext object.operationMode is 'RETRIEVE'.
ActionMapper if the former
failed to obtained a valid ActionMapping or uri.StrutsResultSupport.conditionalParse(String, ActionInvocation) but does not
convert found object into String.
obj2 exists in obj1.
ContainUtil will check if object 1 contains object 2.PatternMatcherCookieProvider
You must reference this interceptor in your default stack or in action's stack, see example below.Dispatcher that subclasses can override
with a custom Dispatcher, if needed.
Dispatcher that subclasses can override
with a custom Dispatcher, if needed.
DateDirectiveDateModelx-www-form-urlencoded string.
x-www-form-urlencoded string.
URLDecoderUtil.decode(String, String) with the encoding specified in the configuration.
URLDecoderUtil.decode(String, String, boolean) with the encoding specified in the configuration.
Configuration.getTemplate(String, Locale) call.
ftl.
DispatcherErrorHandler
which sends Error Report in devMode or HttpServletResponse.sendError(int, java.lang.String) otherwise.struts.custom.properties),
and any custom message resources ().
ActionMapper.
HttpServletResponse.sendRedirect(String).
DefaultActionMapper.dropExtension(java.lang.String, org.apache.struts2.dispatcher.mapper.ActionMapping) instead
URLEncoder.encode(java.lang.String) with the encoding specified in the configuration.
TokenHelper.DEFAULT_TOKEN_NAME
if no name is provided) so that the same token can be re-used for the scope of a request for the same name.
RuntimeException based on the given information.
MultiPartRequestWrapper, which is automatically applied for any request that
includes a file.StrutsPrepareAndExecuteFilter instead or
StrutsPrepareFilter and StrutsExecuteFilter
if needing using the ActionContextCleanUp filter in addition to this oneActionMapping.
ActionMapping.
FreemarkerResult.doExecute(String, ActionInvocation) to obtain the
FreeMarker configuration object that this result will use for template loading.
File object for the filename specified or null if no files
are associated with the given field name.
File[] for the given input field name.
FreemarkerResult.doExecute(String, ActionInvocation) to obtain the
FreeMarker object wrapper object that this result will use for adapting objects into template
models.
org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future.
org.apache.struts2.servlet.ServletRequestAware, since this method will be dropped in future.
allowRequestParameterSwitch
is 'true', else it simply returns 'NONE', meaning its neither in the 'STORE_MODE' nor
'RETRIEVE_MODE'.
Form component.
Include.include(String, java.io.Writer, javax.servlet.ServletRequest,
javax.servlet.http.HttpServletResponse, String) instead with correct encoding specified
Dispatcher
cookiesMap into action that implements
CookiesAware.
Iterator
col1 and col2 and return the composite
Collection.
map1 and map2 and return the composite
Map
ValidationAware action's messages / errors and field errors into
HTTP Session, such that it will be retrievable at a later stage.page context.
ActionMappers based on the request's prefix
You can specify different prefixes that will be handled by different mappers
ActionMappers based on the request's prefix
It is configured through struts.xml
For example, with the following entries in struts.propertiesPrefixBasedActionMapper
to use appropriate ActionProxyFactory connected with given
ActionMapper
Add below entry to struts.xml to enable the factory:
Map interface to handle a collection of request attributes.RestfulActionMapper, see documentation for more details
http://struts.apache.org/2.x/docs/restfulactionmapper.htmlservlet context object.
request dispatcher.
ActionMapper provided by the
ActionMapperFactory to redirect the browser to a URL that invokes the
specified action and (optional) namespace.ServletContext and perform initialisation based in itsendRedirect
method to the location specified.UrlRenderer interface that creates URLs suitable in a servlet environment.Map interface to handle a collection of HTTP session
attributes.acceptCookieNames pattern of allowed names of cookies
to protect against remote command execution vulnerability.
cookiesName which if matched will allow the cookie
to be injected into action, could be comma-separated string.
cookiesValue which if matched (together with matching
cookiesName) will caused the cookie to be injected into action, could be
comma-separated string.
FilterDispatcher.filterConfig; this method
sets up the ServletContextSingleton with
the servlet context from the filter configuration.
TextFieldTag.setMaxlength(java.lang.String) instead
InvocationSessionStore.loadInvocation(java.lang.String, java.lang.String)
XWorkBasicConverter
StrutsRequestWrapper request attribute value stack lookup (JSTL accessibility)
LocaleProvider implementation class
CompositeActionMapper to identify its containing ActionMapper class.
PatternMatcher implementation class
ReflectionContextFactory implementation class
ReflectionProvider implementation class
StaticContentLoader implementation class
UnknownHandlerManager implementation class
UrlHelper implementation class
ValueStackFactory implementation class
ConversionErrorInterceptor but only adds conversion errors from the ActionContext to
the field errors of the action if the field value is not null, "", or {""} (a size 1 String array with only an empty
String).StrutsException with no detail message.
StrutsException with the specified
detail message.
StrutsException with the specified
detail message and target.
StrutsException with the root cause
StrutsException with the root cause and target
StrutsException with the specified
detail message and exception cause.
StrutsException with the specified
detail message, cause, and target
StrutsExecuteFilter filter instance.ParamNameAwareResult to accept or throwaway parametersTagLibraryDirectiveProvider, TagLibraryModelProviderTokenInterceptor, providing advanced logic for handling invalid tokens./dir/theme/name.
JspFactory, this result mocks a JSP
execution environment and then displays a Velocity template that will be
streamed directly to the servlet output.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||