Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Page 1   2  
org.apache.struts.action.* (31)org.apache.struts.actions.* (12)org.apache.struts.chain.* (41)
org.apache.struts.config.* (21)org.apache.struts.examples.* (9)org.apache.struts.faces.* (46)
org.apache.struts.mock.* (13)org.apache.struts.plugins.* (2)org.apache.struts.taglib.* (283)
org.apache.struts.tiles.* (44)

org.apache.struts: Javadoc index of package org.apache.struts.


Package Samples:

org.apache.struts.config.impl: The "config" package contains configuration objects that correspond to elements that may be specified in the struts-config.xml module configuration file.  
org.apache.struts.taglib.wml.common: The "struts-wml" tag library contains JSP custom tags useful in creating dynamic WML user interfaces, including input forms.  
org.apache.struts.tiles.xmlDefinition: The Tiles taglib and framework allows building web pages by assembling reusable pieces of pages, called Tiles.  
org.apache.struts.taglib.nested.logic: Nested tags & supporting classes extend the base struts tags to allow them to relate to each other in a nested nature.  
org.apache.struts.taglib.tiles.util: The "struts-tiles" tag library contains tags that are useful in creating dynamic reusable components.  
org.apache.struts.action
org.apache.struts.config
org.apache.struts.taglib.html
org.apache.struts.taglib.wml
org.apache.struts.actions
org.apache.struts.plugins
org.apache.struts.taglib.bean
org.apache.struts.taglib.logic
org.apache.struts.taglib.nested.bean
org.apache.struts.taglib.nested.html
org.apache.struts.taglib.nested
org.apache.struts.taglib.tiles
org.apache.struts.taglib
org.apache.struts.tiles.actions
org.apache.struts.tiles.beans

Classes:

ActionServlet: ActionServlet provides the "controller" in the Model-View-Controller (MVC) design pattern for web applications that is commonly known as "Model 2". This nomenclature originated with a description in the JavaServerPages Specification, version 0.92, and has persisted ever since (in the absence of a better name). Generally, a "Model 2" application is architected as follows: The user interface will generally be created with server pages, which will not themselves contain any business logic. These pages represent the "view" component of an MVC architecture. Forms and hyperlinks in the user interface ...
LazyValidatorForm: Struts Lazy ActionForm which wraps a LazyDynaBean . There isn't really that much to this implementation as most of the lazy behaviour is in LazyDynaBean and wrapping the LazyDynaBean is handled in the parent BeanValidatorForm . The only thing it really does is populate indexed properties which are a List type with a LazyDynaBean in the get(name, index) method. Lazy DynaBeans provide several types of lazy behaviour: lazy property addition - properties which do not exist are automatically added. lazy List facilities - automatically grows a List or Array to accomodate the index value being set. lazy ...
MappingDispatchAction: An abstract Action that dispatches to a public method that is named by the parameter attribute of the corresponding ActionMapping. This is useful for developers who prefer to combine many related actions into a single Action class. To configure the use of this action in your struts-config.xml file, create an entry like this: <action path="/saveSubscription" type="org.example.SubscriptionAction" name="subscriptionForm" scope="request" input="/subscription.jsp" parameter="method"/> where 'method' is the name of a method in your subclass of MappingDispatchAction that has the same signature (other ...
EventActionDispatcher: An Action helper class that dispatches to to one of the public methods that are named in the parameter attribute of the corresponding ActionMapping and matches a submission parameter. This is useful for developers who prefer to use many submit buttons, images, or submit links on a single form and whose related actions exist in a single Action class. The method(s) in the associated Action must have the same signature (other than method name) of the standard Action.execute method. To configure the use of this action in your struts-config.xml file, create an entry like this: <action path="/saveSubscription" ...
LookupDispatchAction: An abstract Action that dispatches to the subclass mapped execute method. This is useful in cases where an HTML form has multiple submit buttons with the same name. The button name is specified by the parameter property of the corresponding ActionMapping. To configure the use of this action in your struts-config.xml file, create an entry like this: <action path="/test" type="org.example.MyAction" name="MyForm" scope="request" input="/test.jsp" parameter="method"/> which will use the value of the request parameter named "method" to locate the corresponding key in ApplicationResources. For ...
DispatchAction: An abstract Action that dispatches to a public method that is named by the request parameter whose name is specified by the parameter property of the corresponding ActionMapping. This Action is useful for developers who prefer to combine many similar actions into a single Action class, in order to simplify their application design. To configure the use of this action in your struts-config.xml file, create an entry like this: <action path="/saveSubscription" type="org.apache.struts.actions.DispatchAction" name="subscriptionForm" scope="request" input="/subscription.jsp" parameter="method"/> ...
ActionDispatcher: Action helper class that dispatches to a public method in an Action. This class is provided as an alternative mechanism to using DispatchAction and its various flavours and means Dispatch behaviour can be easily implemented into any Action without having to inherit from a particular super Action . To implement dispatch behaviour in an Action class, create your custom Action as follows, along with the methods you require (and optionally "cancelled" and "unspecified" methods): public class MyCustomAction extends Action { protected ActionDispatcher dispatcher = new ActionDispatcher(this, ActionDispatcher.MAPPING_FLAVOR); ...
PropertyResolverImpl: Custom PropertyResolver implementation that adds support for DynaBean property access to the facilities of the default PropertyResolver provided by JavaServer Faces. This class implements the following specific rules: Indexed variants of each call are directly passed through to the PropertyResolver instance that we are wrapping. If the specified base object is an instance of DynaActionForm , and the requested property name is map , maintain compatibility with the way that JSP and JSTL expressions can access this property: getValue() will return the result of calling getMap() on the base object. ...
EventDispatchAction: An Action that dispatches to to one of the public methods that are named in the parameter attribute of the corresponding ActionMapping and matches a submission parameter. This is useful for developers who prefer to use many submit buttons, images, or submit links on a single form and whose related actions exist in a single Action class. The method(s) must have the same signature (other than method name) of the standard Action.execute method. To configure the use of this action in your struts-config.xml file, create an entry like this: <action path="/saveSubscription" type="org.example.SubscriptionAction" ...
ELPutTag: Put an attribute in enclosing attribute container tag. Enclosing attribute container tag can be : <insert> or <definition>. Exception is thrown if no appropriate tag can be found. Put tag can have following atributes : name : Name of the attribute value | content : value to put as attribute type : value type. Only valid if value is a String and is set by value="something" or by a bean. Possible type are : string (value is used as direct string), page | template (value is used as a page url to insert), definition (value is used as a definition name to insert) direct : Specify if value ...
ActionForward: An ActionForward represents a destination to which the controller, RequestProcessor , might be directed to perform a RequestDispatcher.forward or HttpServletResponse.sendRedirect to, as a result of processing activities of an Action class. Instances of this class may be created dynamically as necessary, or configured in association with an ActionMapping instance for named lookup of potentially multiple destinations for a particular mapping instance. An ActionForward has the following minimal set of properties. Additional properties can be provided as needed by subclassses. contextRelative - Should ...
PutTag: Put an attribute in enclosing attribute container tag. Enclosing attribute container tag can be : <insert> or <definition>. Exception is thrown if no appropriate tag can be found. Put tag can have following atributes : name : Name of the attribute value | content : value to put as attribute type : value type. Only valid if value is a String and is set by value="something" or by a bean. Possible type are : string (value is used as direct string), page | template (value is used as a page url to insert), definition (value is used as a definition name to insert) direct : Specify if value ...
ChainAction: An Action implementation that delegates to a configured Chain (or Command) for performing the actual business logic related to a request. The name of the chain to be executed is specified by setting the parameter attribute of the <action> element configuring this action. For example: <action path="/myaction" type="org.apache.struts.chain.legacy.ChainAction" name="myform" scope="request" input="/mypage.jsp" parameter="name-of-chain-to-execute" Prior to calling the specified chain (or command), this action sets up a Context object containing the relevant properties, along with the following ...
ActionForm: An ActionForm is a JavaBean optionally associated with one or more ActionMappings . Such a bean will have had its properties initialized from the corresponding request parameters before the corresponding Action.execute method is called. When the properties of this bean have been populated, but before the execute method of the Action is called, this bean's validate method will be called, which gives the bean a chance to verify that the properties submitted by the user are correct and valid. If this method finds problems, it returns an error messages object that encapsulates those problems, and the ...
TilesRequestProcessor: RequestProcessor contains the processing logic that the Struts controller servlet performs as it receives each servlet request from the container. This processor subclasses the Struts RequestProcessor in order to intercept calls to forward or include. When such calls are done, the Tiles processor checks if the specified URI is a definition name. If true, the definition is retrieved and included. If false, the original URI is included or a forward is performed. Actually, catching is done by overloading the following methods: processForwardConfig(HttpServletRequest,HttpServletResponse,ForwardConfig) ...
DispatchAction: An Action implementation that delegates to a Chain (or Command) that is specified by a request parameter whose name is configured in the parameter attribute of the <action> element configuring this action. For example: <action path="/myaction" type="org.apache.struts.chain.legacy.DispatchAction" name="myform" scope="request" input="/mypage.jsp" parameter="name-of-request-parameter" Prior to calling the specified chain (or command), this action sets up a Context object containing the relevant properties, along with the following additional attributes: mapping - The ActionMapping passed ...
Action: An Action is an adapter between the contents of an incoming HTTP request and the corresponding business logic that should be executed to process this request. The controller (RequestProcessor) will select an appropriate Action for each request, create an instance (if necessary), and call the execute method. Actions must be programmed in a thread-safe manner, because the controller will share the same instance for multiple simultaneous requests. This means you should design with the following items in mind: Instance and static variables MUST NOT be used to store information related to the state ...
ELErrorsTag: Custom tag that renders error messages if an appropriate request attribute has been created. The tag looks for a request attribute with a reserved key, and assumes that it is either a String, a String array, containing message keys to be looked up in the module's MessageResources, or an object of type org.apache.struts.action.ActionErrors . The following optional message keys will be utilized if corresponding messages exist for them in the application resources: errors.header - If present, the corresponding message will be rendered prior to the individual list of error messages. errors.footer - ...
TilesPlugin: Tiles Plugin used to initialize Tiles. This plugin is to be used with Struts 1.1 in association with TilesRequestProcessor . This plugin creates one definition factory for each Struts-module. The definition factory configuration is read first from 'web.xml' (backward compatibility), then it is overloaded with values found in the plugin property values. The plugin changes the Struts configuration by specifying a TilesRequestProcessor as request processor. If you want to use your own RequestProcessor, it should subclass TilesRequestProcessor. This plugin can also be used to create one single factory ...
PlugIn: A PlugIn is a configuration wrapper for a module-specific resource or service that needs to be notified about application startup and application shutdown events (corresponding to when the container calls init and destroy on the corresponding ActionServlet instance). PlugIn objects can be configured in the struts-config.xml file, without the need to subclass ActionServlet simply to perform application lifecycle activities. Implementations of this interface must supply a zero-argument constructor for use by ActionServlet . Configuration can be accomplished by providing standard JavaBeans property ...
ELFrameTag: Generate an HTML <frame> tag with similar capabilities as those the <html:link> tag provides for hyperlink elements. The src element is rendered using the same technique that LinkTag uses to render the href attribute of a hyperlink. Additionally, the HTML 4.0 frame tag attributes noresize , scrolling , marginheight , marginwidth , frameborder , and longdesc are supported. The frame name attribute is rendered based on the frameName property. Note that the value of longdesc is intended to be a URI, but currently no rewriting is supported. The attribute is set directly from the property ...
DefinitionDispatcherAction: An Action that dispatches to a Tiles Definition that is named by the request parameter whose name is specified by the parameter property of the corresponding ActionMapping. This action is useful in following situations: To associate an Url to a definition To use Struts <html:link> tag on a definition To configure the use of this action in your struts-config.xml file, create an entry like this: <action path="/saveSubscription" type="org.apache.struts.tiles.actions.DefinitionDispatcherAction" parameter="def"/> <forward name="success" path="anything" //> <forward name="error" ...
ErrorsTag: Custom tag that renders error messages if an appropriate request attribute has been created. The tag looks for a request attribute with a reserved key, and assumes that it is either a String, a String array, containing message keys to be looked up in the module's MessageResources, or an object of type org.apache.struts.action.ActionErrors . The following optional message keys will be utilized if corresponding messages exist for them in the application resources: errors.header - If present, the corresponding message will be rendered prior to the individual list of error messages. errors.footer - ...
ErrorsTag: Custom tag that renders error messages if an appropriate request attribute has been created. The tag looks for a request attribute with a reserved key, and assumes that it is either a String, a String array, containing message keys to be looked up in the module's MessageResources, or an object of type org.apache.struts.action.ActionErrors . The following optional message keys will be utilized if corresponding messages exist for them in the application resources: errors.header - If present, the corresponding message will be rendered prior to the individual list of error messages. errors.footer - ...
NestedPropertyHelper: A simple helper class that does everything that needs to be done to get the nested tag extension to work. The tags will pass in their relative properties and this class will leverage the accessibility of the request object to calculate the nested references and manage them from a central place. The helper method setNestedProperties(javax.servlet.http.HttpServletRequest, org.apache.struts.taglib.nested.NestedPropertySupport) 55 takes a reference to the tag itself so all the simpler tags can have their references managed from a central location. From here, the reference to a provided name is also ...

Home | Contact Us | Privacy Policy | Terms of Service