Home Answers Viewqa Struts struts flow

 
 


sunil kumar
struts flow
1 Answer(s)      a year and 6 months ago
Posted in : Struts

what is the diff between perform() and execute() in struts? what is the diff between DispatchAction() and LoojupDispatchAction() in struts?

View Answers

November 9, 2011 at 3:24 PM


Difference between perform() and execute()

Perform method is the method which was deprecated in the Struts Version 1.1. In Struts 1.x, Action.perform() is the method called by the ActionServlet. This is typically where your business logic resides, or at least the flow control to your JavaBeans and EJBs that handle your business logic. As we already mentioned, to support declarative exception handling, the method signature changed in perform. Now execute just throws Exception. Action.perform() is now deprecated; however, the Struts v1.1 ActionServlet is smart enough to know whether or not it should call perform or execute in the Action, depending on which one is available.

Difference between DispatchAction() and LoojupDispatchAction()

LookupDispatchAction is subclass of DispactAction class. The LookupDispatchAction class is used when you wants to add struts's internalization functionality in your application. Internalization means multiple languges supports application.

If your using DispatchAction Class you will not be able to apply "internalization" functionality.

DispatchAction dispatches the action based on the parameter value. Where as lookupdispatchAction which is a subclass of it. It inherits all the properties but It supports one more additional method called getmethodkey() for all those mappings.









Related Pages:
Struts Flow
Struts Flow  can u explain about struts flow with clear explaination  Hello, Please visit the following link: http://www.roseindia.net/struts/ Thanks
struts flow
struts flow  what is the diff between perform() and execute() in struts? what is the diff between DispatchAction() and LoojupDispatchAction() in struts
Struts Flow In Depth
Struts Flow In Depth  Struts Flow In Depth
Struts control data flow
Struts control data flow  How Struts control data flow
struts flow - Struts
struts flow  Struts flow  Hi Friend, Please visit the following links: http://www.roseindia.net/struts/how-struts-works.shtml http://www.roseindia.net/struts/ Thanks
struts
struts  Hi what is struts flow of 1.2 version struts? i have struts applicatin then from jsp page how struts application flows Thanks Kalins Naik   Please visit the following link: Struts Tutorial
struts - Struts
struts  I want to know clear steps explanation of struts flow..please explain the flow clearly
Complete j2ee technical flow - Design concepts & design patterns
Complete j2ee technical flow  Hi Friends. I want complete technical flow of j2ee project with following technologies.jsp , servlet , Struts , Hibernate , (should follow mvc-2 design pattern) . with DAO ,DTO SERVICE
flow charts
flow charts   draw a flow chart program with a user prompt of 5 numbers computing the maximum, minimum and average
struts - Framework
Struts flow of execution diagram  What is the structure of struts flow ..can you show it with the help of diagram
flow chart
flow chart  can you provide the flowchart of this coding. import java.util.*; public class StudentMarks{ double totalMarks; String grade; public void setTotalMarks(double totalMarks){ this.totalMarks=totalMarks
flow chart
flow chart  can you provide the flowchart of this coding. import java.util.*; public class StudentMarks{ double totalMarks; String grade; public void setTotalMarks(double totalMarks){ this.totalMarks=totalMarks
Struts Architecture - Struts
Struts Architecture   Hi Friends, Can u give clear struts architecture with flow.   Hi friend, Struts is an open source... developers to adopt an MVC architecture. Struts framework provides three key
struts opensource framework
struts opensource framework  i know how to struts flow ,but i want struts framework open source code
Flow control of hibernate application..
Flow control of hibernate application..  Hello Roseindia team, Please provide flow control of hibernate application.. i.e when it goes to mapping file? when it goes to DAO's? when it goes to hibernate config files?? etc
expression and flow control
expression and flow control  write the program calculate and print the bill of communication telephone mobile company the company offer 2 types of services is regular (r) and premium (p) the rates are computed as follow
java - Struts
java  hi sir, i need Structs Architecture and flow of the Application.  Hi friend, Struts is an open source framework...://www.roseindia.net/struts/StrutsArchitecture.shtml
plese expalin the flow of this program
plese expalin the flow of this program  class Bticket extends Thread { Object train,comp; Bticket(Object train,Object comp){ this.train=train; this.comp=comp; } public void run(){ synchronized(train
Hi.. - Struts
of output text, and application flow management. struts-nested.tld: This tag library...Hi..  Hi, I am new in struts please help me what data write in this file ans necessary also... struts-tiles.tld,struts-beans.tld,struts
Java - Struts
explain the flow of the above mentioned? 3)Where the validations part should be done in Struts program?  Hi Friend, 1)Java Beans are reusable software
Java Review: Control Flow
Java Review: Control Flow Java uses the dominant imperative control flow paradigm. Other paradigms are declarative programming and data flow. Structured Programming control flow primitives within a method: Sequence
Please explain me the flow of this program..
Please explain me the flow of this program..  // Substring replacement. class StringReplace { public static void main(String args[]) { String org = "This is a test. This is, too."; String search
What is the general flow of Hibernate communication with RDBMS?
What is the general flow of Hibernate communication with RDBMS?  Hi, What is the general flow of Hibernate communication with RDBMS? thanks
please explain me the flow of this program
please explain me the flow of this program  class Bticket extends Thread { Object train,comp; Bticket(Object train,Object comp){ this.train=train; this.comp=comp; } public void run(){ synchronized
How to make animated flow river, make animated flow river, animated flow river
How to make animated flow river       Now you can make animation of the still river picture, it is very interesting because I have tried here to make a realistic animation
Loop Control flow enhancement discussion - Java Tutorial
Loop Control flow enhancement discussion 2001-04-28 The Java Specialists.../implement regular program flow. I just picked up some code from another group... control / Loop Control flow enhancement. I could see someone putting your switch
Struts 2 Tags Examples
Struts 2 Tags Examples       In this section we are discussing the Struts 2 tags with examples. Struts 2 tags provides easy to use custom tags to help the developers to make GUI for their struts 2 based
Flex terminating event flow example
Flex terminating event flow example       In the example below, how to terminate an event flow is demonstrated. With this example the motive of previous event phase detecting
plese tell me the control flow of this program
plese tell me the control flow of this program  public class starForTest { public static void main(String [] args) { for (int... k....? plese tell me the control flow
Struts Framework
An introduction to the Struts Framework This article is discussing about the high-class web application development framework, which is Struts. This article will give you detailed introduction to the Struts Framework. Struts
please tell me the flow of execution of this program
please tell me the flow of execution of this program  class Test{ int x; Test(int x){ this.x=x; } static void access(){ System.out.println("x= "+x); }} class Static{ public static void main(String ar[]){ Test obj=new Test(55
Control Flow Statements in java 7
Control Flow Statements in java 7 In this section we will discuss Control Flow... Flow Statements : - In general program execution flow is from top to bottom but you can also control flow of your program with the help of control flow
please eslain me the flow of execution of this program
please eslain me the flow of execution of this program  class Producer extends Thread { StringBuffer sb; boolean dataprodover = false; Producer(){ sb = new StringBuffer(); } public void run(){ for(int i=1;i<=10;i++){ try
Flow Control Constructs
Flow Control Constructs       Flow Control Constructs include the IF, CASE, LOOP, WHILE, ITERATE... label The LEAVE Statement is used to exit from any flow control constructs
Struts
Struts   How to retrive data from database by using Struts
STRUTS
STRUTS  MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2
STRUTS
STRUTS  MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2
Struts
Struts  what is SwitchAction in struts
STRUTS
STRUTS   Request context in struts? SendRedirect () and forward how to configure in struts-config.xml
Struts Articles
straightforward by building a simple Page Flow model on top of Struts. Using... that demonstrates the usage of various Oracle JDeveloper 10g tools, such as the new Struts flow... is the Struts flow diagram. Struts does a great job of managing flows
struts
struts  in industry, struts 1 and struts 2. which is the best? which is useful as a professuional   Have a look at the following link: Struts Tutorials
Struts
Struts  Tell me good struts manual
struts
struts  what are the 4 methods of struts framework
struts
struts shopping cart project in struts with oracle database connection  shopping cart project in struts with oracle database connection   Have a look at the following link: Struts Shopping Cart using MySQL
Grouping Of Test cases by using struts
Grouping Of Test cases by using struts  Hi, I can able to create, save, delete and execute test cases in my application. But i want to group those test cases. Give me the flow for coding
Struts
Struts   When Submit a Form and while submit is working ,press the Refresh , what will happen in Struts
struts
struts  i have no any idea about struts.please tell me briefly about struts?**   Hi Friend, You can learn struts from the given link: Struts Tutorials Thanks
velocity template - Struts
velocity template  what is velocity template and how does it work? whats the flow of execution of velocity template? i want an example using velocity template?  Hi friend, Velocity is an open source templating tool
Introduction to Struts 2 Tags
Struts 2 Tags       In this section we will introduce you with the tags provided along with Struts 2 framework. It is necessary to understand all the tags provided along with Struts 2 framework

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.