Java Doc for ActionConfig.java in  » Web-Framework » struts-1.3.8 » org » apache » struts » config » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Framework » struts 1.3.8 » org.apache.struts.config 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.struts.config.BaseConfig
      org.apache.struts.config.ActionConfig

All known Subclasses:   org.apache.struts.action.ActionMapping,
ActionConfig
public class ActionConfig extends BaseConfig (Code)

A JavaBean representing the configuration information of an <action> element from a Struts module configuration file.


version:
   $Rev: 480593 $ $Date: 2006-11-29 09:17:52 -0600 (Wed, 29 Nov 2006) $
since:
   Struts 1.1


Field Summary
protected  StringactionId
    

The internal identification of this action mapping.

protected  Stringattribute
    

The request-scope or session-scope attribute name under which our form bean is accessed, if it is different from the form bean's specified name.

protected  booleancancellable
    

Can this Action be cancelled? [false]

By default, when an Action is cancelled, validation is bypassed and the Action should not execute the business operation.

protected  Stringcatalog
    

The name of a commons-chain catalog in which command should be sought.

protected  Stringcommand
    

The name of a commons-chain command which should be executed as part of the processing of this action.

protected  HashMapexceptions
    

The set of exception handling configurations for this action, if any, keyed by the type property.

protected  booleanextensionProcessed
    
protected  Stringforward
    

Context-relative path of the web application resource that will process this request via RequestDispatcher.forward(), instead of instantiating and calling the Action class specified by "type".

protected  HashMapforwards
    

The set of local forward configurations for this action, if any, keyed by the name property.

protected  Stringinclude
    

Context-relative path of the web application resource that will process this request via RequestDispatcher.include(), instead of instantiating and calling the Action class specified by "type".

protected  Stringinherit
    
protected  Stringinput
    

Context-relative path of the input form to which control should be returned if a validation error is encountered.

protected  ModuleConfigmoduleConfig
    

The module configuration with which we are associated.

protected  StringmultipartClass
    

Fully qualified Java class name of the MultipartRequestHandler implementation class used to process multi-part request data for this Action.

protected  Stringname
    

Name of the form bean, if any, associated with this Action.

protected  Stringparameter
    

General purpose configuration parameter that can be used to pass extra information to the Action instance selected by this Action. Struts does not itself use this value in any way.

protected  Stringpath
    

Context-relative path of the submitted request, starting with a slash ("/") character, and omitting any filename extension if extension mapping is being used.

protected  Stringprefix
    

Prefix used to match request parameter names to form bean property names, if any.

protected  String[]roleNames
    

The set of security role names used to authorize access to this Action, as an array for faster access.

protected  Stringroles
    

Comma-delimited list of security role names allowed to request this Action.

protected  Stringscope
    

Identifier of the scope ("request" or "session") within which our form bean is accessed, if any.

protected  Stringsuffix
    

Suffix used to match request parameter names to form bean property names, if any.

protected  Stringtype
    

Fully qualified Java class name of the Action class to be used to process requests for this mapping if the forward and include properties are not set.

protected  booleanunknown
    

Indicates Action be configured as the default one for this module, when true.

protected  booleanvalidate
    


Method Summary
public  voidaddExceptionConfig(ExceptionConfig config)
    

Add a new ExceptionConfig instance to the set associated with this action.

public  voidaddForwardConfig(ForwardConfig config)
    

Add a new ForwardConfig instance to the set of global forwards associated with this action.

protected  booleancheckCircularInheritance(ModuleConfig moduleConfig)
    

Traces the hierarchy of this object to check if any of the ancestors is extending this instance.


Parameters:
  moduleConfig - The configuration for the module being configured.
public  ExceptionConfigfindException(Class type)
    

Find and return the ExceptionConfig instance defining how Exceptions of the specified type should be handled. This is performed by checking local and then global configurations for the specified exception's class, and then looking up the superclass chain (again checking local and then global configurations).

public  ExceptionConfigfindExceptionConfig(String type)
    

Return the exception configuration for the specified type, if any; otherwise return null.

public  ExceptionConfig[]findExceptionConfigs()
    

Return the exception configurations for this action.

public  ForwardConfigfindForwardConfig(String name)
    

Return the forward configuration for the specified key, if any; otherwise return null.

public  ForwardConfig[]findForwardConfigs()
    

Return all forward configurations for this module.

public  voidfreeze()
    

Freeze the configuration of this action.

public  StringgetActionId()
    

The internal name of this action mapping.

public  StringgetAttribute()
    

Returns the request-scope or session-scope attribute name under which our form bean is accessed, if it is different from the form bean's specified name.

public  booleangetCancellable()
    
public  StringgetCatalog()
    

Get the name of a commons-chain catalog in which a specified command should be sought.

public  StringgetCommand()
    

Get the name of a commons-chain command which should be executed as part of the processing of this action.

public  StringgetExtends()
    
public  StringgetForward()
    

Returns context-relative path of the web application resource that will process this request.

public  StringgetInclude()
    

Context-relative path of the web application resource that will process this request.

public  StringgetInput()
    

Get the context-relative path of the input form to which control should be returned if a validation error is encountered.

public  ModuleConfiggetModuleConfig()
    

The module configuration with which we are associated.

public  StringgetMultipartClass()
    

Return the fully qualified Java class name of the MultipartRequestHandler implementation class used to process multi-part request data for this Action.

public  StringgetName()
    

Return name of the form bean, if any, associated with this Action.

public  StringgetParameter()
    

Return general purpose configuration parameter that can be used to pass extra information to the Action instance selected by this Action.

public  StringgetPath()
    

Return context-relative path of the submitted request, starting with a slash ("/") character, and omitting any filename extension if extension mapping is being used.

public  StringgetPrefix()
    

Retruns prefix used to match request parameter names to form bean property names, if any.

public  String[]getRoleNames()
    

Get array of security role names used to authorize access to this Action.

public  StringgetRoles()
    
public  StringgetScope()
    

Get the scope ("request" or "session") within which our form bean is accessed, if any.

public  StringgetSuffix()
    

Return suffix used to match request parameter names to form bean property names, if any.

public  StringgetType()
    
public  booleangetUnknown()
    

Determine whether Action is configured as the default one for this module.

public  booleangetValidate()
    
protected  voidinheritExceptionHandlers(ActionConfig baseConfig)
    
protected  voidinheritForwards(ActionConfig baseConfig)
    
public  voidinheritFrom(ActionConfig config)
    

Inherit values that have not been overridden from the provided config object.

public  booleanisExtensionProcessed()
    
public  voidprocessExtends(ModuleConfig moduleConfig)
    

Inherit configuration information from the ActionConfig that this instance is extending.

public  voidremoveExceptionConfig(ExceptionConfig config)
    

Remove the specified exception configuration instance.

public  voidremoveForwardConfig(ForwardConfig config)
    

Remove the specified forward configuration instance.

public  voidsetActionId(String actionId)
    

The internal name of this action mapping.

public  voidsetAttribute(String attribute)
    

Set the request-scope or session-scope attribute name under which our form bean is accessed, if it is different from the form bean's specified name.

public  voidsetCancellable(boolean cancellable)
    
public  voidsetCatalog(String catalog)
    

Set the name of a commons-chain catalog in which a specified command should be sought.

public  voidsetCommand(String command)
    

Set the name of a commons-chain command which should be executed as part of the processing of this action.

public  voidsetExtends(String inherit)
    
public  voidsetForward(String forward)
    

Set the context-relative path of the web application resource that will process this request.

public  voidsetInclude(String include)
    

Set context-relative path of the web application resource that will process this request.

public  voidsetInput(String input)
    

Set the context-relative path of the input form to which control should be returned if a validation error is encountered.

public  voidsetModuleConfig(ModuleConfig moduleConfig)
    

The module configuration with which we are associated.

public  voidsetMultipartClass(String multipartClass)
    

Set the fully qualified Java class name of the MultipartRequestHandler implementation class used to process multi-part request data for this Action.

public  voidsetName(String name)
    
public  voidsetParameter(String parameter)
    

General purpose configuration parameter that can be used to pass extra information to the Action instance selected by this Action.

public  voidsetPath(String path)
    

Set context-relative path of the submitted request, starting with a slash ("/") character, and omitting any filename extension if extension mapping is being used.

public  voidsetPrefix(String prefix)
    
public  voidsetRoles(String roles)
    
public  voidsetScope(String scope)
    
public  voidsetSuffix(String suffix)
    
public  voidsetType(String type)
    
public  voidsetUnknown(boolean unknown)
    
public  voidsetValidate(boolean validate)
    
public  StringtoString()
    

Return a String representation of this object.


Field Detail
actionId
protected String actionId(Code)

The internal identification of this action mapping. Identifications are not inheritable and must be unique within a module.


since:
   Struts 1.3.6



attribute
protected String attribute(Code)

The request-scope or session-scope attribute name under which our form bean is accessed, if it is different from the form bean's specified name.




cancellable
protected boolean cancellable(Code)

Can this Action be cancelled? [false]

By default, when an Action is cancelled, validation is bypassed and the Action should not execute the business operation. If a request tries to cancel an Action when cancellable is not set, a "InvalidCancelException" is thrown.




catalog
protected String catalog(Code)

The name of a commons-chain catalog in which command should be sought. If a command is defined and this property is undefined, the "default" catalog will be used. This is likely to be infrequently used after a future release of commons-chain supports a one-string expression of a catalog/chain combination.
since:
   Struts 1.3.0




command
protected String command(Code)

The name of a commons-chain command which should be executed as part of the processing of this action.
since:
   Struts 1.3.0




exceptions
protected HashMap exceptions(Code)

The set of exception handling configurations for this action, if any, keyed by the type property.




extensionProcessed
protected boolean extensionProcessed(Code)

Have the inheritance values for this class been applied?




forward
protected String forward(Code)

Context-relative path of the web application resource that will process this request via RequestDispatcher.forward(), instead of instantiating and calling the Action class specified by "type". Exactly one of forward, include, or type must be specified.




forwards
protected HashMap forwards(Code)

The set of local forward configurations for this action, if any, keyed by the name property.




include
protected String include(Code)

Context-relative path of the web application resource that will process this request via RequestDispatcher.include(), instead of instantiating and calling the Action class specified by "type". Exactly one of forward, include, or type must be specified.




inherit
protected String inherit(Code)

The path of the ActionConfig that this object should inherit properties from.




input
protected String input(Code)

Context-relative path of the input form to which control should be returned if a validation error is encountered. Required if "name" is specified and the input bean returns validation errors.




moduleConfig
protected ModuleConfig moduleConfig(Code)

The module configuration with which we are associated.




multipartClass
protected String multipartClass(Code)

Fully qualified Java class name of the MultipartRequestHandler implementation class used to process multi-part request data for this Action.




name
protected String name(Code)

Name of the form bean, if any, associated with this Action.




parameter
protected String parameter(Code)

General purpose configuration parameter that can be used to pass extra information to the Action instance selected by this Action. Struts does not itself use this value in any way.




path
protected String path(Code)

Context-relative path of the submitted request, starting with a slash ("/") character, and omitting any filename extension if extension mapping is being used.




prefix
protected String prefix(Code)

Prefix used to match request parameter names to form bean property names, if any.




roleNames
protected String[] roleNames(Code)

The set of security role names used to authorize access to this Action, as an array for faster access.




roles
protected String roles(Code)

Comma-delimited list of security role names allowed to request this Action.




scope
protected String scope(Code)

Identifier of the scope ("request" or "session") within which our form bean is accessed, if any.




suffix
protected String suffix(Code)

Suffix used to match request parameter names to form bean property names, if any.




type
protected String type(Code)

Fully qualified Java class name of the Action class to be used to process requests for this mapping if the forward and include properties are not set. Exactly one of forward, include, or type must be specified.




unknown
protected boolean unknown(Code)

Indicates Action be configured as the default one for this module, when true.




validate
protected boolean validate(Code)

Should the validate() method of the form bean associated with this action be called?






Method Detail
addExceptionConfig
public void addExceptionConfig(ExceptionConfig config)(Code)

Add a new ExceptionConfig instance to the set associated with this action.


Parameters:
  config - The new configuration instance to be added
throws:
  IllegalStateException - if this module configuration has beenfrozen



addForwardConfig
public void addForwardConfig(ForwardConfig config)(Code)

Add a new ForwardConfig instance to the set of global forwards associated with this action.


Parameters:
  config - The new configuration instance to be added
throws:
  IllegalStateException - if this module configuration has beenfrozen



checkCircularInheritance
protected boolean checkCircularInheritance(ModuleConfig moduleConfig)(Code)

Traces the hierarchy of this object to check if any of the ancestors is extending this instance.


Parameters:
  moduleConfig - The configuration for the module being configured. true if circular inheritance was detected.



findException
public ExceptionConfig findException(Class type)(Code)

Find and return the ExceptionConfig instance defining how Exceptions of the specified type should be handled. This is performed by checking local and then global configurations for the specified exception's class, and then looking up the superclass chain (again checking local and then global configurations). If no handler configuration can be found, return null.

Introduced in ActionMapping in Struts 1.1, but pushed up to ActionConfig in Struts 1.2.0.


Parameters:
  type - Exception class for which to find a handler
since:
   Struts 1.2.0



findExceptionConfig
public ExceptionConfig findExceptionConfig(String type)(Code)

Return the exception configuration for the specified type, if any; otherwise return null.


Parameters:
  type - Exception class name to find a configuration for



findExceptionConfigs
public ExceptionConfig[] findExceptionConfigs()(Code)

Return the exception configurations for this action. If there are none, a zero-length array is returned.




findForwardConfig
public ForwardConfig findForwardConfig(String name)(Code)

Return the forward configuration for the specified key, if any; otherwise return null.


Parameters:
  name - Name of the forward configuration to return



findForwardConfigs
public ForwardConfig[] findForwardConfigs()(Code)

Return all forward configurations for this module. If there are none, a zero-length array is returned.




freeze
public void freeze()(Code)

Freeze the configuration of this action.




getActionId
public String getActionId()(Code)

The internal name of this action mapping. If an action has a name, it may be used as a shortcut in a URI. For example, an action with an identification of "editPerson" may be internally forwarded as "editPerson?id=1" which will then resolve to the real URI path at execution time.

the actionId
since:
   Struts 1.3.6



getAttribute
public String getAttribute()(Code)

Returns the request-scope or session-scope attribute name under which our form bean is accessed, if it is different from the form bean's specified name. attribute name under which our form bean is accessed.




getCancellable
public boolean getCancellable()(Code)

Accessor for cancellable property

True if Action can be cancelled



getCatalog
public String getCatalog()(Code)

Get the name of a commons-chain catalog in which a specified command should be sought. This is likely to be infrequently used after a future release of commons-chain supports a one-string expression of a catalog/chain combination.

name of a commons-chain catalog in which aspecified command should be sought.
since:
   Struts 1.3.0



getCommand
public String getCommand()(Code)

Get the name of a commons-chain command which should be executed as part of the processing of this action.

name of a commons-chain command which should beexecuted as part of the processing of this action.
since:
   Struts 1.3.0



getExtends
public String getExtends()(Code)

Returns the path of the ActionConfig that this object should inherit properties from.

the path of the ActionConfig that this object should inheritproperties from.



getForward
public String getForward()(Code)

Returns context-relative path of the web application resource that will process this request. context-relative path of the web application resource that willprocess this request.




getInclude
public String getInclude()(Code)

Context-relative path of the web application resource that will process this request. Context-relative path of the web application resource that willprocess this request.




getInput
public String getInput()(Code)

Get the context-relative path of the input form to which control should be returned if a validation error is encountered. context-relative path of the input form to which control shouldbe returned if a validation error is encountered.




getModuleConfig
public ModuleConfig getModuleConfig()(Code)

The module configuration with which we are associated.




getMultipartClass
public String getMultipartClass()(Code)

Return the fully qualified Java class name of the MultipartRequestHandler implementation class used to process multi-part request data for this Action.




getName
public String getName()(Code)

Return name of the form bean, if any, associated with this Action.




getParameter
public String getParameter()(Code)

Return general purpose configuration parameter that can be used to pass extra information to the Action instance selected by this Action. Struts does not itself use this value in any way.




getPath
public String getPath()(Code)

Return context-relative path of the submitted request, starting with a slash ("/") character, and omitting any filename extension if extension mapping is being used.




getPrefix
public String getPrefix()(Code)

Retruns prefix used to match request parameter names to form bean property names, if any.




getRoleNames
public String[] getRoleNames()(Code)

Get array of security role names used to authorize access to this Action.




getRoles
public String getRoles()(Code)



getScope
public String getScope()(Code)

Get the scope ("request" or "session") within which our form bean is accessed, if any.




getSuffix
public String getSuffix()(Code)

Return suffix used to match request parameter names to form bean property names, if any.




getType
public String getType()(Code)



getUnknown
public boolean getUnknown()(Code)

Determine whether Action is configured as the default one for this module.




getValidate
public boolean getValidate()(Code)



inheritExceptionHandlers
protected void inheritExceptionHandlers(ActionConfig baseConfig) throws ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException(Code)

Compare the exception handlers of this action with that of the given and copy those that are not present.


Parameters:
  baseConfig - The action config to copy handlers from.
See Also:   ActionConfig.inheritFrom(ActionConfig)



inheritForwards
protected void inheritForwards(ActionConfig baseConfig) throws ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException(Code)

Compare the forwards of this action with that of the given and copy those that are not present.


Parameters:
  baseConfig - The action config to copy forwards from.
See Also:   ActionConfig.inheritFrom(ActionConfig)



inheritFrom
public void inheritFrom(ActionConfig config) throws ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException(Code)

Inherit values that have not been overridden from the provided config object. Subclasses overriding this method should verify that the given parameter is of a class that contains a property it is trying to inherit:

 if (config instanceof MyCustomConfig) {
 MyCustomConfig myConfig =
 (MyCustomConfig) config;
 if (getMyCustomProp() == null) {
 setMyCustomProp(myConfig.getMyCustomProp());
 }
 }
 

If the given config is extending another object, those extensions should be resolved before it's used as a parameter to this method.


Parameters:
  config - The object that this instance will be inheriting itsvalues from.
See Also:   ActionConfig.processExtends(ModuleConfig)



isExtensionProcessed
public boolean isExtensionProcessed()(Code)



processExtends
public void processExtends(ModuleConfig moduleConfig) throws ClassNotFoundException, IllegalAccessException, InstantiationException, InvocationTargetException(Code)

Inherit configuration information from the ActionConfig that this instance is extending. This method verifies that any action config object that it inherits from has also had its processExtends() method called.


Parameters:
  moduleConfig - The ModuleConfig that this bean is from.
See Also:   ActionConfig.inheritFrom(ActionConfig)



removeExceptionConfig
public void removeExceptionConfig(ExceptionConfig config)(Code)

Remove the specified exception configuration instance.


Parameters:
  config - ExceptionConfig instance to be removed
throws:
  IllegalStateException - if this module configuration has beenfrozen



removeForwardConfig
public void removeForwardConfig(ForwardConfig config)(Code)

Remove the specified forward configuration instance.


Parameters:
  config - ForwardConfig instance to be removed
throws:
  IllegalStateException - if this module configuration has beenfrozen



setActionId
public void setActionId(String actionId)(Code)

The internal name of this action mapping. The name is not inheritable, may not contain a forward slash, and must be unique within a module.


Parameters:
  actionId - the action identifier
since:
   Struts 1.3.6
throws:
  IllegalStateException - if the configuration is frozen
throws:
  IllegalArgumentException - if the identifier contains a forward slash



setAttribute
public void setAttribute(String attribute)(Code)

Set the request-scope or session-scope attribute name under which our form bean is accessed, if it is different from the form bean's specified name.
Parameters:
  attribute - the request-scope or session-scope attribute nameunder which our form bean is access.




setCancellable
public void setCancellable(boolean cancellable)(Code)

Mutator for for cancellable property


Parameters:
  cancellable -



setCatalog
public void setCatalog(String catalog)(Code)

Set the name of a commons-chain catalog in which a specified command should be sought. This is likely to be infrequently used after a future release of commons-chain supports a one-string expression of a catalog/chain combination.


Parameters:
  catalog - name of a commons-chain catalog in which aspecified command should be sought.
since:
   Struts 1.3.0



setCommand
public void setCommand(String command)(Code)

Set the name of a commons-chain command which should be executed as part of the processing of this action.


Parameters:
  command - name of a commons-chain command whichshould be executed as part of the processing of thisaction.
since:
   Struts 1.3.0



setExtends
public void setExtends(String inherit)(Code)

Set the path of the ActionConfig that this object should inherit properties from.


Parameters:
  inherit - the path of the ActionConfig that this object shouldinherit properties from.



setForward
public void setForward(String forward)(Code)

Set the context-relative path of the web application resource that will process this request. Exactly one of forward, include, or type must be specified.
Parameters:
  forward - context-relative path of the web application resourcethat will process this request.




setInclude
public void setInclude(String include)(Code)

Set context-relative path of the web application resource that will process this request. Exactly one of forward, include, or type must be specified.
Parameters:
  include - context-relative path of the web application resourcethat will process this request.




setInput
public void setInput(String input)(Code)

Set the context-relative path of the input form to which control should be returned if a validation error is encountered. Required if "name" is specified and the input bean returns validation errors.
Parameters:
  input - context-relative path of the input form to which controlshould be returned if a validation error is encountered.




setModuleConfig
public void setModuleConfig(ModuleConfig moduleConfig)(Code)

The module configuration with which we are associated.




setMultipartClass
public void setMultipartClass(String multipartClass)(Code)

Set the fully qualified Java class name of the MultipartRequestHandler implementation class used to process multi-part request data for this Action.
Parameters:
  multipartClass - fully qualified class name of theMultipartRequestHandlerimplementation class.




setName
public void setName(String name)(Code)

Parameters:
  name - name of the form bean associated with this Action.



setParameter
public void setParameter(String parameter)(Code)

General purpose configuration parameter that can be used to pass extra information to the Action instance selected by this Action. Struts does not itself use this value in any way.
Parameters:
  parameter - General purpose configuration parameter.




setPath
public void setPath(String path)(Code)

Set context-relative path of the submitted request, starting with a slash ("/") character, and omitting any filename extension if extension mapping is being used.
Parameters:
  path - context-relative path of the submitted request.




setPrefix
public void setPrefix(String prefix)(Code)

Parameters:
  prefix - Prefix used to match request parameter names to form beanproperty names, if any.



setRoles
public void setRoles(String roles)(Code)



setScope
public void setScope(String scope)(Code)

Parameters:
  scope - scope ("request" or "session") within which our form beanis accessed, if any.



setSuffix
public void setSuffix(String suffix)(Code)

Parameters:
  suffix - Suffix used to match request parameter names to form beanproperty names, if any.



setType
public void setType(String type)(Code)



setUnknown
public void setUnknown(boolean unknown)(Code)

Parameters:
  unknown - Indicates Action is configured as the default one forthis module, when true.



setValidate
public void setValidate(boolean validate)(Code)



toString
public String toString()(Code)

Return a String representation of this object.




Fields inherited from org.apache.struts.config.BaseConfig
protected boolean configured(Code)(Java Doc)

Methods inherited from org.apache.struts.config.BaseConfig
protected Properties copyProperties()(Code)(Java Doc)
public void freeze()(Code)(Java Doc)
protected Properties getProperties()(Code)(Java Doc)
public String getProperty(String key)(Code)(Java Doc)
protected void inheritProperties(BaseConfig baseConfig)(Code)(Java Doc)
protected void setProperties(Properties properties)(Code)(Java Doc)
public void setProperty(String key, String value)(Code)(Java Doc)
public void throwIfConfigured()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.