Online Training Spring Hibernate Training in Delhi R Programming Training Course Big Data and Hadoop Training Java Training  
 

struts flow

Ads

 
 

Share on Google+Share on Google+

sunil kumar
struts flow
1 Answer(s)      5 years and 8 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?

Ads
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.


Ads









Related Tutorials/Questions & Answers:
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 In Depth
Struts Flow In Depth  Struts Flow In Depth
Advertisements
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 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 Flow Diagram Step By Step
Struts Flow Diagram Step By Step In this section we will read about the flow of struts application. Here we will see the architecture of struts..., struts work flow starts with the request, coming from a resource such as JSP page
flow charts
flow charts   draw a flow chart program with a user prompt of 5 numbers computing the maximum, minimum and average
struts - Struts
struts  I want to know clear steps explanation of struts flow..please explain the flow clearly
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 - 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
Version of com.bookislife>flow dependency
List of Version of com.bookislife>flow dependency
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
struts opensource framework
struts opensource framework  i know how to struts flow ,but i want struts framework open source code
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
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  how to learn struts
Struts
Struts  what is SwitchAction in struts
STRUTS
STRUTS   Request context in struts? SendRedirect () and forward how to configure in struts-config.xml
Version of ch.jodersky>flow-core_2.11 dependency
List of Version of ch.jodersky>flow-core_2.11 dependency
Version of ch.jodersky>flow-core_2.12 dependency
List of Version of ch.jodersky>flow-core_2.12 dependency
Version of ch.jodersky>flow-core_2.12.0-M4 dependency
List of Version of ch.jodersky>flow-core_2.12.0-M4 dependency
Version of ch.jodersky>flow-core_2.12.0-M5 dependency
List of Version of ch.jodersky>flow-core_2.12.0-M5 dependency
Version of ch.jodersky>flow-core_2.12.0-RC1 dependency
List of Version of ch.jodersky>flow-core_2.12.0-RC1 dependency
Version of ch.jodersky>flow-native dependency
List of Version of ch.jodersky>flow-native dependency
Version of ch.jodersky>flow-stream_2.11 dependency
List of Version of ch.jodersky>flow-stream_2.11 dependency
Version of ch.jodersky>flow-stream_2.12 dependency
List of Version of ch.jodersky>flow-stream_2.12 dependency
Version of ch.jodersky>flow-stream_2.12.0-M4 dependency
List of Version of ch.jodersky>flow-stream_2.12.0-M4 dependency