Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Java Programming Language Interviews:Advanced JavaCore JavaEclipseFull Stack Developer (Java)HibernateIBM WebSphereInternationalization LocalizationJ2EEJ2MEJ2SEJavaJava ANTJava AppletJava BeansJava ClassesJava EJB ProgrammingJava Game DeveloperJava GUI FrameworkJava JNDIJava JNIJava JSP ProgrammingJava Message Service (JMS)Java Multi-ThreadingJava Networking - Sockets and RMIJava PatternsJava SecurityJava Server FacesJava Servlet ProgrammingJava Software EngineerJava Swing ProgrammingJava TechnicalJava ThreadsJava Transaction APIJava Web ServicesJavaMailJBossJDBCJMSJSFPortal and PortletRMISpring FrameworkSr.Java Web DeveloperStrutsSunOneSwing AWTSWT JFace
Copyright © 2018. All Rights Reserved
Struts Interview Question:
How to use DispatchAction?
Submitted by: AdministratorTo use the DispatchAction, follow these steps :
► Create a class that extends DispatchAction (instead of Action)
► In a new class, add a method for every function you need to perform on the service - The method has the same signature as the execute() method of an Action class.
► Do not override execute() method - Because DispatchAction class itself provides execute() method.
► Add an entry to struts-config.xml
Submitted by: Administrator
► Create a class that extends DispatchAction (instead of Action)
► In a new class, add a method for every function you need to perform on the service - The method has the same signature as the execute() method of an Action class.
► Do not override execute() method - Because DispatchAction class itself provides execute() method.
► Add an entry to struts-config.xml
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.