answersLogoWhite

0

How jsp used in mvc model?

Updated: 9/13/2023
User Avatar

Wiki User

14y ago

Best Answer

MVC refers to Model View Controller architecture.

Jsp pages are the view part of the MVC architecture...

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How jsp used in mvc model?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is mvc in jsp?

JSP is used for the V part of the MVC Architecture. MVC stands for Model-View-Controller Architecture and JSPs are used for the views.


How MVC work with JSP page?

In the context of JSP, the Model-View-Controller (MVC) pattern can be implemented by having the JSP act as the View to display data from the Model (usually Java objects) and the Controller can be represented by servlets or Java classes that handle business logic and interact with the Model. The JSP page is responsible for displaying the data provided by the Controller, maintaining a separation of concerns between the presentation (View) and business logic (Controller).


What is the definition of the word MVC architecture?

The definition of the the word MVC is: "Model-View-Controller (MVC) is a software architecture, currently considered an architectural pattern used in software engineering." The model consists of application data, business rules and all kinds of functions.


Why jsp cannot be used as mvc controller instead of servlets?

Because JSPs are designed to take care of the View part of the MVC design patter and not the controller. You can have little or some amount of logic in it, but it is not designed/created with the idea of controlling the flow of control in a J2EE application.


How does a servlet and javaserverpages fit in the ModelViewController pattern design?

Servlets form the Controller and JSP the View part of the MVC design pattern


What is the use of jsp?

JSP stands for Java Server Pages. It is the face of any web application. I.e., the stuff you see on a web page can be JSP contents. The JSP uses the features of both Java and HTML to display dynamic contents on a web page. It interacts with Servlets in a MVC architecture to provide the power to display dynamic and advanced data on any given web page.


How to use MVC in Swing Application?

MVC stands for Model View & Controller. In Swings you can use this as follows: Model - Java Beans View - JFrames & JPanels Controller - Event Handlers


What are types of web technologies?

Web technologies related to the interface between web servers and their clients. So there are a large number of interfaces available these days. A few of them are: CGI Perl PHP Jquery & AJAX Struts2 (MVC 2 Arch.) JSP ASP ASPX and various others...


Main reasons for using servlet as a controller in struts why not jsp?

JSP's are designed to provide rich features for user interface. Though they are powerful, they lack the flexibility and security features that Servlets offer us and hence Servlets are the first and best choice for Controller in a MVC based architecture like Struts.


What is the Expansion for JSP?

JSP stands for Java Server Pages. They are used in Java Enterprise applications that are created to be used on web pages. The JSP page acts as the user interface for the enterprise application.


What are the JSP atrributes?

java server pages (jsp) are used for scripting on java side with the help a server .


Why aspnet mvc?

ASP.NET MVC model allows programmers to separate the user interface and the programming logic in a very simple and efficient way. MVC stands for Model-View-Controller. View - The user interface of any application. Model - The logic that allows the application to interact with database or XML files are written in the model classes. Business logic is also maintained by Model classes. Controller - The classes which interact with both Model and View. These classes allow passing data from Model to View and vice-versa. By using ASP.NET MVC you can create loosely coupled applications. Which means if there is change in database or its structure then then it will not affect or will have minimum impact on user Interface or the business logic of the application. Similarly, if there is a change in the user Interface then it will have less impact on business logic and database layers.