ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip       Ask Questions on ANYTHING, that arise in your Daily Life at     FORUM9.COM
Google
 
Categories  >>  Software  >>  Java J2EE  >>  Java Related  >>  Struts
 
 


 

 
 Core Java interview questions  Core Java Interview Questions
 Advanced Java interview questions  Advanced Java Interview Questions
 Swing interview questions  Swing Interview Questions
 EJB interview questions  EJB Interview Questions
 Servlets interview questions  Servlets Interview Questions
 Struts interview questions  Struts Interview Questions
 JDBC interview questions  JDBC Interview Questions
 JMS interview questions  JMS Interview Questions
 SunOne interview questions  SunOne Interview Questions
 J2EE interview questions  J2EE Interview Questions
 Weblogic interview questions  Weblogic Interview Questions
 Websphere interview questions  Websphere Interview Questions
 Java Networking interview questions  Java Networking Interview Questions
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions
Question
diffrence between dispatch action and lookupdispatch action

write simple web appliction (insert records in database)
 Question Submitted By :: Kotireddy92
I also faced this Question!!     Rank Answer Posted By  
 
  Re: diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)
Answer
# 1
LookupDispatchAction class is much like the DispatchAction 
class except that, it uses a Java Map and 
ApplicationResource.properties file to dispatch methods. At 
run time, this class manages to delegate the request to one 
of the methods of the derived Action class. Selection of a 
method depends on the value of the parameter passed from 
the incoming request. LookupDispatchAction uses this 
parameter value to reverse-map to a property in the Struts 
Resource bundle file (ie..ApplicationResource.properties). 
this eliminates the need of creating an instance of 
ActionForm class.
 
Is This Answer Correct ?    15 Yes 0 No
Mastan Reddy
 
  Re: diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)
Answer
# 2
Both LookupDispatchAction and DispatchAction are subclass 
of ActionClass.The Advantage of LookupDispatchAction is the 
methodName should be different.
 
Is This Answer Correct ?    0 Yes 1 No
Ala
 
 
 
  Re: diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database)
Answer
# 3
LookupDispatchAction is used for I18N where as
DispatchAction is not useful for I18N
 
Is This Answer Correct ?    0 Yes 2 No
Sekhar Babu
 

 
 
 
Other Struts Interview Questions
 
  Question Asked @ Answers
 
is it possible to see actionservlet in my system. if yes how  5
What is Hibernate?  3
what is the use of cvs in struts?  2
project architechture in java IBM2
what is ForwardAction and IncludeAction in struts? Mind-Tree2
what is frame work in struts? Infosys3
what is the difference between ServletContext and ServletConfig?  4
diffrence between dispatch action and lookupdispatch action write simple web appliction (insert records in database) TCS3
Which parser is used in Struts to parse the Structconfig.xml file. iFlex19
how can i fetch combo box value into my DAO using struts 2?  2
how you implement and maintain your struts project by using MVC2 arch? Wipro2
How is the Struts framworl related to MVC2? Wipro1
how the error can be showed in the jsp page in struts? Wipro2
Is form beans are serializable or not? Magna-Infotech8
What is Portlet???? when,where and why we use it ?? Wipro2
what is mean by custom tag? Wipro4
what is purpose cvs and vss in eclipse?  2
what is tiles in struts?  6
how to write my own Action servlet by extending pre-defined Action servlet in struts config. Sony2
what is diffrence between Dynaactionform,actionform and Dynavalidateform TCS7
 
For more Struts Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com