GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

GeekInterview.com  >  Interview Questions  >  J2EE  >  Struts
Go To First  |  Previous Question  |  Next Question 
 Struts  |  Question 74 of 102    Print  
What are the Actions in Struts?

  
Total Answers and Comments: 2 Last Update: October 16, 2006     Asked by: Sujatha 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
October 14, 2006 21:25:53   #1  
Abhishek        

RE: What are the Actions in Struts?

Hi friends,

Struts framework provides us some inbuilt action classes like FORWARD ACTION, INCLUDE ACTION, DISPATCH ACTION, LOOKUPDISPATCH ACTION AND SWITCH ACTION.

                                                      Abhishek


 
Is this answer useful? Yes | No
October 16, 2006 00:50:45   #2  
srinivasaraobora Member Since: May 2006   Contribution: 22    

RE: What are the Actions in Struts?

Hi,

Struts Extras provides several popular but non-essential classes, including:

ActionDispatcher An Action helper class that dispatches to a public method in an Action. 
BaseAction BaseAction is provided as an intermediate class for shared funtionality between Action and any stock implementation provided in this package. 
DigestingPlugIn An implementation of PlugIn which can be configured to instantiate a graph of objects using the Commons Digester and place the root object of that graph into the Application context. 
DispatchAction 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. 
DownloadAction This is an abstract base class that minimizes the amount of special coding that needs to be written to download a file. 
DynaValidatorActionForm This class differs from the core DynaValidatorForm in that the key passed into the validator is the action element's 'path' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml. 
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. 
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 
ForwardAction An Action that forwards to the context-relative URI specified by the parameter property of our associated ActionMapping. 
IncludeAction An Action that includes the context-relative URI specified by the parameter property of our associated ActionMapping. 
LocaleAction Implementation of Action that changes the user's Locale and forwards to a page, based on request level parameters that are set (language, country, and page). 
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 
MappingDispatchAction An abstract Action that dispatches to a public method that is named by the parameter attribute of the corresponding ActionMapping. 
ModuleConfigVerifier Convenient implementation of PlugIn that performs as many verification tests on the information stored in the ModuleConfig for this module as is practical. 
SwitchAction A standard Action that switches to a new module and then forwards control to a URI (specified in a number of possible ways) within the new module. 
ValidatorActionForm This class differs from the core ValidatorForm in that the key passed into the validator is the action element's 'path' attribute from the struts-config.xml which should match the form element's name attribute in the validation.xml. 

keeps smiling and mailing

bora_srinivasarao@yahoo.co.in

"HELP EVER HURT NEVER"&"IMPOSSIBLE AS POSSIBLE"

Note:If any one want java materials like e-books,faq's send a mail to my id.if any doubts regarding java send a mail to my id, if possible i will send answers.if any one want how to install java softwares ,tomcat,weblogic,eclipse,jbuilder etc and how to use plz send amil or ask online also i will definitly tell.
see my profile by clickon below link:

http://in.geocities.com/bora_srinivasarao/MyHomepage.html

http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/DEA2eIX.html


 
Is this answer useful? Yes | No

 Related Questions

Answered by asreeni on 2005-04-08 03:24:40: The core of the Struts framework is a flexible control layer based on standard technologies like Java Servlets, JavaBeans, ResourceBundles, and XML, as well 
Latest Answer : Struts is an opensource frame work designed based on MVC architechture which is used     to develop webapplications.It is famous because of Centralized controller and loosely coupling nature. ...

Latest Answer : The new features added to Struts 1.1 are 1. RequestProcessor class 2. Method perform() replaced by execute() in Struts base Action Class3. Changes to web.xml and struts-config.xml4.Declarative exception handling5.Dynamic ActionForms6.Plug-ins7.Multiple ...

Latest Answer : When we deploy our application in the server, at first the container reads the information from web.xml file.Here ActionServlet object will be created and init() of ActionServlet will be called.Here ActionServlet is the backbone to the whole application.When ...

Latest Answer : Yes, we use Service locator design pattern    We can call from Action Calss through JNDI to home object.          then call remote object from home object ...

Latest Answer : There are only five struts tag libraries1)Bean tag lib2)Html tag lib3)logic tag lib4)nested tag lib5)Template tag libothers are JSTL tag libraries(ex: c.tld,sql.tld,fmt.tld) ...

Latest Answer : hi,to handle the errors:in struts project to handle the error objet by using ActionError object and to handle the errors by using ActionErrors object.for supposeActionError ae1=new ActionError("err.one");ActionError ae2=new ActionError("err.two");Action ...

Latest Answer : These are the tags we can define ,,,,,  ...

Latest Answer : Tokens are used to prevent multi click problem in struts. In Action class method at the begining of the code, need to call the saveToken() that generates an unique identifier for the "request url" and stotes it in the session and also in the ...

Latest Answer : Struts play’s a c role. Struts also have built-in solutions for developing v part. ...

Latest Answer : Yes I also agree with this - The core classes of struts are ActionForm, Action, ActionMapping, ActionForward etc... ...


 Sponsored Links

 
Related Articles

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

HR Interview - HR Interview Mistakes You Will Want To Avoid

HR Interview Mistakes You Will Want To Avoid The job interview can be a stressful process This is especially true for those who are going after a competitive position Your nonverbal communication combined with the answers you give during the interview will determine if you are hired mosgoogle While
 

HR Interview - Behavioral HR Interviews

Behavioral HR Interviews As the name implies a behavioral interview is an interview that is held by a human resources department to determine if an applicant has the behaviors that are appropriate for a job The company must know how an applicant will behave in a certain situations mosgoogle The logi
 

HR Interview - How To Prepare For Your HR Interview

How To Prepare For Your HR Interview Before you begin thinking about how you are going to dress for the interview it is important to do your research first You should learn everything you can about the company you wish to work for When you have detailed information about your employer you will conve
 

HR Interview - Telephone Interview Etiquette

Telephone Interview Etiquette When you conduct a telephone interview for a job it is important to show the proper etiquette Not only is it important it is critical is you wish to be hired by the company There are a number of things you will want to do and other things should never be done mosgoogle
 

HR Interview - How To Succeed At HR Interviews

How To Succeed At HR Interviews There are a number of things you will need to do in order to make sure you pass the interview process Your appearance is something that you will want to pay close attention to Even if you feel that your appearance shouldn t be a factor in whether or not you re highere
 

HR Interview - Do's and Dont's in a HR Interview

Do s and Dont s in a HR Interview There are a number of things that you will want to avoid during the HR interview process While some of these things are directed at the interviewer the other things are directed at the applicant If interviewers fail to follow the proper procedures throughout the int
 

HR Interview - HR Interview Tips

HR Interview Tips It has become more challenging for companies to find the right employees because of the market When you hold an interview for a potential employee there are a number of things you will want to keep in mind mosgoogle The goal of a company should be to hire an employee who can perfor
 





About Us  |   Privacy Policy  |   Terms and Conditions  |   Contact  |   Site Map  |   Add Question  |   Propose Category  |   RSS Feeds  |   Articles Sitemap  |   Site Updates  |   Add Resource

Copyright © 2005 - 2008 GeekInterview.com. All Rights Reserved
Page copy protected against web site content infringement by Copyscape