Model in struts

Model in struts

what is a model in struts?

View Answers

November 15, 2010 at 4:06 PM

Hello Friend,

Struts is open source MVC framework in Java. The Struts framework is developed and maintained by the Apache Foundation. The Struts framework is used to develop web applications using MVC (Model-View-Controller) design pattern. It is based on Servlet, JSP and Java Beans.

The Struts framework is very extensible and can be extended to meet the project's specific requirements. It helps the developer's to develop complex web and intranet applications easily. The application developed in Struts is also maintainable.

MVC Architecture

The MVC design patterns provides a clean separation of objects into three categories; Model, View and Controllers.

Model: Model represents the business data.

View: Data presentation or the view to be displayed to the user.

Controller: Controls the events passed between Model and View. All the user request passes through the controller. In Struts all the user request passes through the controller. Controller is responsible for handling all the requests from the user and finally calling appropriate action.

For more information on struts:

visit here

Thanks









Related Tutorials/Questions & Answers:
Model in struts
Model in struts  what is a model in struts
Single thread model in Struts - Struts
Single thread model in Struts   Hi Friends, Can u acheive singleThreadModel , ThreadSafe in Struts if so plx explain me.  Hi Struts 1 Actions are singletons therefore they must
Advertisements
Single thread model - Struts
Single thread model  Hi Friedns , thank u in advance 1)I need sample code to find and remove duplicates in arraylist and hashmap. 2) In struts, ow to implement singlthread model and threadsafe
In Struts What is Model?
In Struts What is Model? This tutorial explains you What is Model in Struts. Struts is MVC based application and it is separated into three integral parts... of components:ADS_TO_REPLACE_1 Model View and Controller Struts
Struts
Struts  Why struts rather than other frame works?   Struts... the developers time and costs as it is having a clear layer of MVC model. Struts2... general-purpose functionality. Struts2 is neutral model and easier integrated
Struts
Struts   How to retrive data from database by using Struts
STRUTS
STRUTS  MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2
STRUTS
STRUTS  MAIN DIFFERENCES BETWEEN STRUTS 1 AND STRUTS 2
Struts
Struts  what is SwitchAction in struts
Struts
Struts  how to learn struts
STRUTS
STRUTS   Request context in struts? SendRedirect () and forward how to configure in struts-config.xml
struts
struts  in industry, struts 1 and struts 2. which is the best? which is useful as a professuional   Have a look at the following link: Struts Tutorials
Struts
Struts  Tell me good struts manual
struts
struts  what are the 4 methods of struts framework
struts
struts shopping cart project in struts with oracle database connection  shopping cart project in struts with oracle database connection   Have a look at the following link: Struts Shopping Cart using MySQL
Struts
Struts   When Submit a Form and while submit is working ,press the Refresh , what will happen in Struts
struts
struts  Hi what is struts flow of 1.2 version struts? i have struts applicatin then from jsp page how struts application flows Thanks Kalins Naik   Please visit the following link: Struts Tutorial
struts
struts   how to write Dao to select data from the database
struts
struts  why doc type is not manditory in struts configuration file
struts
struts  why doc type is not manditory in struts configuration file
struts
struts  why doc type is not manditory in struts configuration file
struts
struts  why doc type is not manditory in struts configuration file
Struts
Struts  Hi i am new to struts. I don't know how to create struts please in eclipse help me
struts
struts   Hi how struts flows from jsp page to databae and also using validation ? Thanks Kalins Naik
Struts
Setter methods of form bean class in Struts applications  who calls the setter methods of form bean class in struts applications
Struts
Struts   What is called properties file in struts? How you call the properties message to the View (Front End) JSP Pages
Struts
Struts   in struts I want two struts.xml files. Where u can specify that xml files location and which tag u specified
struts
struts  which is the best book to study struts on own? please tell me   You can learn struts through the following books: 1)Programming Jakarta Struts By Chuck Cavaness 2)Professional Jakarta Struts By James Goodwill
struts
struts  which is the best book to study struts on own? please tell me   You can learn struts through the following books: 1)Programming Jakarta Struts By Chuck Cavaness 2)Professional Jakarta Struts By James Goodwill
Struts
Struts  How Struts is useful in application development? Where to learn Struts? Thanks   Hi, Struts is very useful in writing web... performance Java web applications that runs on Java enabled application servers. Struts
Struts Tutorial
will learn the Basic Model View, Controller Architecture and Struts 2 in simple...Struts Tutorial Struts is an open source web application framework deployed to develop Java web applications. Based on the Model-View-Controller (MVC
Struts - Struts
Struts for beginners  struts for beginners example
struts
struts  how to start struts?   Hello Friend, Please visit the following links:ADS_TO_REPLACE_1 http://www.roseindia.net/struts/ http... through which you can easily learn the struts. ThanksADS_TO_REPLACE_2
struts
struts  i have no any idea about struts.please tell me briefly about struts?**   Hi Friend, You can learn struts from the given link:ADS_TO_REPLACE_1 Struts Tutorials Thanks
struts
struts  hi i would like to have a ready example of struts using "action class,DAO,and services" for understanding.so please guide for the same. thanks  Please visit the following link: Struts Tutorials
Struts
Struts  Am newly developed struts applipcation,I want to know how to logout the page using the strus   Please visit the following link: Struts Login Logout Application
Struts
Struts   1)in struts server side validations u are using programmatically validations and declarative validations? tell me which one is better ? 2) How to enable the validator plug-in file
struts
struts  please send me a program that clearly shows the use of struts with jsp
struts
struts  Hi, 1) can we write two controller classes in struts
struts
struts  Hi,... please help me out how to store image in database(mysql) using struts
struts
struts  how to generate bar code for continuous numbers in a loop using struts ... or atleast for a given number
Struts
Struts   How will you retrieve a collection of records from business logic to presentation logic in framework
struts - Struts
struts  What is model View Controller architecture in a web... the presentation data to the user. Model-view-controller (MVC) is an architectural... or the underlying business rules without affecting the other. The model object
STRUTS
STRUTS  1)Have you used struts tag libraries in your application? 2)What are the various types of tag libraries in struts? Elaborate each of them? 3)How can you implement custom tag libraries in your application
struts
struts  Hi, Here my quation is can i have more than one validation-rules.xml files in a struts application
struts
struts  we have the concept of jsp's and servlets right we can develop the web-pages each and everything then why what for struts inturdouced
struts
struts  hi i would like to have a ready example of struts using"action class,DAO,and services" so please help me
STRUTS
STRUTS   1) Difference between Action form and DynaActionForm? 2) How the Client request was mapped to the Action file? Write the code and explain
STRUTS
STRUTS   Validation: user entered as 123.34567 I want the value as 123.34 once the user submits. How you will validate
struts
technologies like servlets, jsp,and struts. i am doing one struts application where i... the following links: http://www.roseindia.net/struts/StrutsCustomValidator.shtml http://www.roseindia.net/struts/addressstrutsvalidator.shtml http

Ads