answersLogoWhite

0

What is mvc in jsp?

Updated: 9/17/2023
User Avatar

Wiki User

12y ago

Best Answer

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.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is mvc in jsp?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Basic Math

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.


What are jsp actions?

JSP actions are XML tags that direct the server to use existing components or control the behavior of the JSP engine. JSP Actions consist of a typical (XML-based) prefix of "jsp" followed by a colon, followed by the action name followed by one or more attribute parameters. There are six JSP Actions: < jsp : include / > < jsp : forward / > < jsp : plugin / > < jsp : usebean / > < jsp : setProperty / > < jsp : getProperty / >


What does jsp mean?

jsp means Java Server Pages.


What is the difference between JSP and Servlets?

A JSP is typically oriented more towards displaying information, and a servlet is more oriented towards processing information. For example, a JSP might display a report, while a servlet would process a user submitted form. These uses are not exclusive, but they are optimized more for performing tasks in this manner. It is much easier to incorporate HTML coding into a JSP than a Servlet. It is also easier to write more complex Java code in a servlet.AnswerJSP has Implicit objects and Servlets do not. AnswerJSP and Servlet both define the server end functionality to provide dynamic outputs ,As we know our HTML is only the client end technology version which runs on client browser. JSP and Servlet differ each other in terms of represntation and execution cycle. Servlet are full functional java codes that define the output like write to stream files in protocol defined ways, JSP on the other hand is Role Sepated format to do so where a ordinary web designer designes how will be the presentation of the data and Programmer defines the functinality to provide the underlying things represented in conditional and non conditinal ways , But here is the magic of JSp that merges the both HTML represntation mixed with JAVA scriptlets. Look at http://www.jsptube.com/jsp-tutorials/jsp-introduction.html, it explains how does JSP differs from servlet.


What are the Implicit object in JSP?

The implicit objects in a JSP page are:requestresponsepageContextsessionapplicationoutconfigpage

Related questions

How jsp used in mvc model?

MVC refers to Model View Controller architecture. Jsp pages are the view part of the MVC architecture...


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.


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.


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.


When was MVC Consulting created?

MVC Consulting was created in 1981.


What are jsp actions?

JSP actions are XML tags that direct the server to use existing components or control the behavior of the JSP engine. JSP Actions consist of a typical (XML-based) prefix of "jsp" followed by a colon, followed by the action name followed by one or more attribute parameters. There are six JSP Actions: < jsp : include / > < jsp : forward / > < jsp : plugin / > < jsp : usebean / > < jsp : setProperty / > < jsp : getProperty / >


What is acronym of jsp?

JSP stands for Java Server Pages


What is full from JSP?

JSP stands for Java Server Pages


When was JSP Records created?

JSP Records was created in 1978.


How to Update data from jsp into database?

can i get update coding in jsp??