Action and ActionSupport

Action and ActionSupport

Difference between Action and ActionSupport ?

View Answers

March 8, 2011 at 1:27 PM

Hi friends,

The com.opensymphony.xwork2.Action is interface. Which has some string like SUCCESS, ERROR, INPUT etc and an execute() method. The developer implements this interface of accessing string field in action methods. The com.opensymphony.xwork2.ActionSupport is class . It is used for implements Action and some other interfaces and provides some feature like data validation and localized error messaging when extended in the action classes by developers.

Thanks... 

Ads









Related Tutorials/Questions & Answers:
Action and ActionSupport
Action and ActionSupport  Difference between Action and ActionSupport.... The developer implements this interface of accessing string field in action... for implements Action and some other interfaces and provides some feature like data
Example of ActionSupport class
Example of ActionSupport class Struts ActionSupport class provides the default... automatically when action is called. This is default implemented method subclasses... to continue execution, and want to clear the state of the action. pause
Advertisements
Action form
Action form  how to store details from user and how to create asp file or etc
UISlider action
UISlider action  Hi, How to capture and use UISlider action? Thanks   Hi, Following code might helpful. -(IBAction)changeSlider:(id)sender { NSString *value= [[NSString alloc] initWithFormat:@" Value %d
Create Action class
package. The commonly used action class is ActionSupport. An example of action.... The ActionSupport class implements the Action interface and Action interface provides...Create Action Class An action is an important portion of web application
Struts2.2.1 Action Tag Example
Struts2.2.1 Action Tag Example The Action tag  is used to call action class directly from a JSP page. We can call action directly by specifying the action name and an optional namespace.The body content of the tag is used to render
Action without a form.
Action without a form.  Can I have an Action without a form
Struts Action Class
Struts Action Class  What happens if we do not write execute() in Action class
Jsp Action Tags
Jsp Action Tags  how can i use jsp forward action tag?i want examples
ModuleNotFoundError: No module named 'action'
ModuleNotFoundError: No module named 'action'  Hi, My Python... 'action' How to remove the ModuleNotFoundError: No module named 'action'... to install padas library. You can install action python with following command
JSP Forward action
JSP Forward action  Jsp forward action tag examples
RADIO FROM JSP TO ACTION.
RADIO FROM JSP TO ACTION.  Hi frds, how to get the selected multiple radio button values from jsp to action
Action classes in struts
Action classes in struts  how many type action classes are there in struts   Hi Friend, There are 8 types of Action classes: 1.ForwardAction class 2.DispatchAction class 3.IncludeAction class 4.LookUpDispatchAction
uibarbuttonitem initwithcustomview action
uibarbuttonitem initwithcustomview action  HI, Can anyone provide me the code for uibarbuttonitem initwithcustomview action? In my application I am adding custom BarButtonItem, how I can attach an action to it? Thanks
Writing action classes in struts2.2.1
Writing action classes Action Classes AdmissionAction.java-  It action... AdmissionAction extends ActionSupport implements ModelDriven<... com.opensymphony.xwork2.ModelDriven; public class SearchAction extends ActionSupport implements
standard action - JSP-Servlet
; hi friend.. Action Allow you to specify components from a tag library or a standard tag. For Example : Action may display an output or write some value to servlet without showing any output. Actually action is a tag name and tag
UIButton action example
UIButton action example  HI, How i can capture the Button click action? What to write the .h and .m file? Thanks   Hi, Here is the code that you can write in .h file: (void) buttonPress:(id)sender; Here
Chain Action Result Example
Chain Action Example Struts2.2.1 provides the feature to chain many actions... in an application by applying Chain Result to a action. A Chain Result is an result type... to forward a request to an another action. While propagating the state. An Example
getting db in action class
getting db in action class  hi, Am usin struts in ma application... n i need to interact with the db .. so i used.. getDataSource(request) but it gives me an error.. java.lang.NoSuchMethodError: LoginAction.getDataSource(Ljavax
Redirect Action Result Example
Redirect Action Result Example The Result uses the ActionMapper of the ActionMapperFactory for redirecting the URL to the specified action. To redirect the action to the specified location you need to do mapping in the struts.xml 
No action instance for path
No action instance for path  <%@ taglib uri="http...; <body bgcolor="white"> <html:form action="/FileUploadAndSave...; </form-beans> <action-mappings> <action path
data science in action
data science in action  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: data science in action Try to provide me good examples or tutorials links so that I can learn
ModuleNotFoundError: No module named 'action-optimizer'
ModuleNotFoundError: No module named 'action-optimizer'  Hi, My... named 'action-optimizer' How to remove the ModuleNotFoundError: No module named 'action-optimizer' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'action-hero'
ModuleNotFoundError: No module named 'action-hero'  Hi, My Python... 'action-hero' How to remove the ModuleNotFoundError: No module named 'action-hero' error? Thanks   Hi, In your python environment
ModuleNotFoundError: No module named 'gui-action'
ModuleNotFoundError: No module named 'gui-action'  Hi, My Python... 'gui-action' How to remove the ModuleNotFoundError: No module named 'gui-action' error? Thanks   Hi, In your python environment you
ModuleNotFoundError: No module named 'next-action'
ModuleNotFoundError: No module named 'next-action'  Hi, My Python... 'next-action' How to remove the ModuleNotFoundError: No module named 'next-action' error? Thanks   Hi, In your python environment
Struts 2 Action Tag
Struts 2 Action Tag "action" Tag in Struts 2 is used by developer to call action class from a JSP page. For calling the action class, developer must assign action name. Struts 2 Action Tag is one of the Data Tags, which are used
Version of com.michaelpardo>materialdesignicons-action dependency
List of Version of com.michaelpardo>materialdesignicons-action dependency
Struts 2 action-validation.xml not loading
Struts 2 action-validation.xml not loading  Hi All, I am getting... error SERVER : Caught exception while loading file package/action-validation.xml Connection refused: Connect - (unknown location) The path of my action
Toolbar: Change of action - Swing AWT
Toolbar: Change of action  How do you change the action of a button in the Jtoolbar using Swing .The button in the toolbar should act as links so that when that button is clicked the corresponding page should appear
Forgot Password Action,Struts Forgot Password Action class
Forgot Password Action       Forgot Password Action The password forgot Action is invoked... password action requires user name and passwords same as you had entered during

Ads