|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
StrutsPrepareFilter
and
StrutsExecuteFilter
to use other Servlet filters that need access to
the ActionContextoperationMode
is in 'STORE'.
struts.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.obj2
exists in obj1
.
ContainUtil
will check if object 1 contains object 2.Dispatcher
that subclasses can override
with a custom Dispatcher, if needed.
Dispatcher
that subclasses can override
with a custom Dispatcher, if needed.
DateDirective
DateModel
Configuration.getTemplate(String, Locale)
call.
ftl
.
struts.custom.properties
),
and any custom message resources ().
ActionMapper
.
HttpServletResponse.sendRedirect(String)
.
DefaultActionMapper.dropExtension(java.lang.String,org.apache.struts2.dispatcher.mapper.ActionMapping)
instead
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.
java.io.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.
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 retrieveable at a later stage.page context
.
ActionMapper
s based on the request's prefix
You can specify different prefixes that will be handled by different mappers
ActionMapper
s based on the request's prefix
It is configured through struts.xml
For example, with the following entries in struts.propertiesMap
interface to handle a collection of request attributes.servlet context
object.
request dispatcher
.
ActionMapper
provided by the ActionMapperFactory
to redirect the browser to a
URL that invokes the specified action and (optional) namespace.sendRedirect
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.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)
CompositeActionMapper
to identify its containing ActionMapper
class.
PatternMatcher
implementation class
ReflectionContextFactory
implementation class
ReflectionProvider
implementation class
StaticContentLoader
implementation class
UnknownHandlerManager
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.TokenInterceptor
, providing advanced logic for handling invalid tokens./dir/theme/name
.
TextParseUtil.translateVariables(java.lang.String, com.opensymphony.xwork2.util.ValueStack)
and
encodes the URL using URLEncoder.encode(java.lang.String)
with the encoding specified in the configuration.
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 |