to use the dispatchaction follow these steps make


To use the DispatchAction, follow these steps:

? Make a class that extends DispatchAction (instead of Action)

? In a new class, add a method for each function you need to perform on the service - The method has the similar signature as the execute() method of an Action class.

? Do not override execute() method - Because DispatchAction class itself gives execute() method.

? Add an entry to struts-config.xml

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: to use the dispatchaction follow these steps make
Reference No:- TGS0266746

Expected delivery within 24 Hours