What is Struts Flow?

Answer Posted / gopal g

struts is MVC(Model,View,Controller)Archietecture based
F/W software.

Resourcers OF a Struts Application In 1.0 of Struts :
---------------------------------------------------
we use following resources:

1.jsp(View)
2.Web.xml
3.struts-config.xml
4.FormBean.java (Form Bean)
5.FormAction.java(Action class)
----------------------------------
----------------------------------


Flow OF Struts Application In 1.0 of Struts :
-------------------------------------------

1).End User gives Request to Struts Application,
By Clicking on a button,in JSP(View)of our struts
Application.
2).Then,Request comes to first Web.xml
3).Now from web.xml req goes to Action servlet(Controller
Of Struts Application)
4)Then controller/Front Controller/Req Processer/Dispather
Servlet forwarads req
to Struts configaration file.
5).from there req goes to Action class via Controller
('Model' of Struts App) & it'll execute B.logic there.do so
perations with DB -->return to controller
6).And from Struts configaration file it will goes FormBean
class
via Controller.(In 1.0 of Struts)
7).From FormBean to Response goes to JSP(VIEW).

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How we can configured action mapping in struts?

585


Explain about the validation steps which have to be carried during validation of client-side address?

549


What’s the difference between struts and turbine?

560


Can you give an overview of how a struts application flows?

531


Explain the difference between plain-validator and field-validator in struts?

530






How do you convert struts to springs?

557


Is struts action class singleton?

556


What is life cycle of an interceptor?

554


What are inner class and anonymous class?

551


What is difference between interceptors and filters?

541


What is jakarta struts framework?

568


What is action servlet in struts?

551


Who wrote struts?

560


How to override the default error message that can come during file uploading process?

580


What are the steps involved in creating a strut application?

517