CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies

Search Interview Questions

Question: Who will run the execute method in struts?

Answer: Request Processor.



Category Struts Interview Questions & Answers - Exam Mode / Learning Mode
Rating (0.6) By 512 users
Added on 11/22/2013
Views 5004
Rate it!
Question: Who will run the execute method in struts?
Answer:

Request Processor. Source: CoolInterview.com

Answered by: pranitha | Date: 11/25/2008 | Contact pranitha Contact pranitha

The web Container calls the Execute Method with the help of the Action class we write. Source: CoolInterview.com

Answered by: raju | Date: 11/26/2008 | Contact raju Contact raju

Action Class Source: CoolInterview.com

Answered by: N PRAVEEN | Date: 11/27/2008 | Contact N PRAVEEN Contact N PRAVEEN

request processor class run the execute method inside this class. Source: CoolInterview.com

Answered by: vipin gupta | Date: 12/4/2008 | Contact vipin gupta Contact vipin gupta

Request dispatcher will run the execute method.
When request is give to front controller then request dispatcher will dispatch the request to that action class. Source: CoolInterview.com

Answered by: vamsee | Date: 12/5/2008 | Contact vamsee Contact vamsee

ActionClass Source: CoolInterview.com

Answered by: sachin | Date: 12/7/2008 | Contact sachin Contact sachin

Action Servlet will execute the the execute method in action class of struts. Source: CoolInterview.com

Answered by: Anil Mundra | Date: 12/8/2008 | Contact Anil Mundra Contact Anil Mundra

Request Processor is responsible for creating the action object(if it does not exist) because action will be created only once and call the execute method when a request comes. Source: CoolInterview.com

Answered by: B.Shravan Kumar | Date: 12/10/2008 | Contact B.Shravan Kumar Contact B.Shravan Kumar

Action Servlet will run the execute method in Struts, as it is the main controller of struts. Source: CoolInterview.com

Answered by: Kartik | Date: 12/10/2008 | Contact Kartik Contact Kartik

org.apache.struts.actions.*; Source: CoolInterview.com

Answered by: Gajendra | Date: 12/16/2008 | Contact Gajendra Contact Gajendra

Action class Source: CoolInterview.com

Answered by: modi | Date: 2/2/2009 | Contact modi Contact modi

Internally the Request Processor will call the execute method by specified actionclass Source: CoolInterview.com

Answered by: sreenu | Date: 4/9/2009 | Contact sreenu Contact sreenu

The controller (RequestProcessor) will select an appropriate Action for each request, create an instance (if necessary), and call the execute method. Source: CoolInterview.com

Answered by: Sudhir | Date: 5/22/2009 | Contact Sudhir Contact Sudhir

Action Servlet will invoke the corresponding execute method of the requested action Source: CoolInterview.com

Answered by: Balu R | Date: 10/2/2009 | Contact Balu R Contact Balu R

execute() method is called by processActionPerform() method of RequestProcessor class Source: CoolInterview.com

Answered by: manoj | Date: 10/21/2009 | Contact manoj Contact manoj

org.apache.struts.actions.Action Source: CoolInterview.com

Answered by: venkatareddy | Date: 12/22/2009 | Contact venkatareddy Contact venkatareddy

Action Servlet have to read the structs configaration file in application and to send the request to appropriate Action class(it's obj creation is done by Action servlet).
This action class extends from predefined class is org.apache.struts.action.Action.
It have a execute(-,-) method it call by Action Servlet.
Source: CoolInterview.com

Answered by: venkatareddy | Date: 12/22/2009 | Contact venkatareddy Contact venkatareddy


If you have the better answer, then send it to us. We will display your answer after the approval

Rules to Post Answers in CoolInterview.com:-

  • There should not be any Spelling Mistakes.
  • There should not be any Gramatical Errors.
  • Answers must not contain any bad words.
  • Answers should not be the repeat of same answer, already approved.
  • Answer should be complete in itself.

Post your answer here

Inform me about updated answers to this question.
Related Questions
View Answer
what is oro ?
View Answer
Is struts XHTML supportive?.
What are the helper files in the form of JSPs available in struts?
What is the difference between Struts 1.1, 1.2 and 1.3?
View Answer
What is the difference between bean:write and bean:message

View Answer
How do i configure web.xml using with struts.

View Answer
What is struts flow? Explain in detail

View Answer
What r the disadvantages of struts?

View Answer
Why do we override the execute method is struts? Plz give me the details?

View Answer
What is Action Class. What are the methods in Action class

View Answer
What are the core classes of struts?

View Answer
What is the difference between Struts 1.0 and Struts 1.1
View Answer
What are the Important Components of Struts?



View Answer
What part of MVC does Struts represent

View Answer
How you will save the data across different pages for a particular client request usingStruts

View Answer
Is there any way to put my custom name to LIB folder which i am going to place in WEB-INF folder of struts application?




View Answer
Can i use bc4j with spring framwork

View Answer
Does Struts provide support for Validator & Tiles by default ?




View Answer
In struts, if any changes are made to before the request reaches to actionservlet, where you do the changes?

View Answer
In struts what happens if made any changes in actionservlet?

View Answer
In struts why we use jsp as presentation layer? can we use servlet as presentation layer?

View Answer
In struts how can i validate the values filled into the text boxes or else using DynaValidatorForm,without using javascript.
Actually with javascript it is working perfect but not without javascript, and i want without javascript?

View Answer

Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.

View All Struts Interview Questions & Answers - Exam Mode / Learning Mode




India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.03125 Seconds