Q)explain dispatchaction.
Q)what is a dispatch action.
Q)dispatchaction in struts
When we talk about struts,when we go for creating a form we need three things.
1.jsp page
2.login form.
3.login action
since we show that for creating a form be need to create three differnt file,if our application involve multiple (x)form there would be overhead of creating 3*x file.Inorder to prevent this we came up with the idea of DispactchAction,where multiple action class is not required,in one action class we can declare the implementation of i.e business logic of all the form.
Q)what is a dispatch action.
Q)dispatchaction in struts
When we talk about struts,when we go for creating a form we need three things.
1.jsp page
2.login form.
3.login action
since we show that for creating a form be need to create three differnt file,if our application involve multiple (x)form there would be overhead of creating 3*x file.Inorder to prevent this we came up with the idea of DispactchAction,where multiple action class is not required,in one action class we can declare the implementation of i.e business logic of all the form.
No comments:
Post a Comment