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
Explain about the library tag?
Do we need to pay the struts if being used in commercial purpose?
How to build struts application in eclipse?
Explain about the
What is the purpose of @results?
Can we have multiple struts config files ?
Can we handle exceptions in Struts programmatically?
Difference between struts and spring?
What are the struts2 configuration properties that control file uploading process?
What is struts2 namespace?
How many instances of servlet usually run in a struts application ?
Which technologies can be used at view layer in struts?
Explain the difference between jakarta struts and apache struts?
How many servlet controllers are used in a Struts Application?
What is the purpose of struts.properties in struct2?