What is model version in pom file ? model version is the version of project descriptor your POM compatible to . It needs to be included and is set. The value 4.0. 0 just indicated that it is compatible Maven 3. How to check maven version of project ? In eclipse, right click on the project->run as->run configurations – select project in Maven Build section on the left, give project name in name, project workspace in base directory, give –verison in goals, and click on run, This gives me the following output: Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11 10T11:41:47-05:00) Maven home: C:\Program Files\Java\apache-maven-3.3.9 Java version: 1.7.0_80, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_80\jre Default locale: en_US, platform encoding: UTF-8 OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "windows" ...
Q.What is hr tag ? A.The <hr> tag in HTML stands for horizontal rule and is used to insert a horizontal rule or a thematic break in an HTML page to divide or separate document sections. The <hr> tag is an empty tag, and it does not require an end tag.
Spring MVC What is spring mvc ? 1.Spring mvc is a model view controller design pattern which contains a library within the Spring framework that simplifies handling HTTP requests and responses . 2.Model contails data, view contains ui (html, jsp etc) files, controller is a class which controls and redirect requests. why we use spring mvc ? Separate roles - The Spring MVC separates each role, where the model object, controller, command object, view resolver, DispatcherServlet, validator, etc. can be fulfilled by a specialized object. Powerful Configuration - It provides a robust configuration for both framework and application classes that includes easy referencing across contexts, such as from web controllers to business objects and validators. Rapid development - The Spring MVC facilitates fast and parallel development. Reusable business code - Instead of creating new o...
Comments
Post a Comment