*. The VM suffix file is a velocity file. Velocity is a Java-based page template engine that supports front-end Files written in the format of # If # else # foreach. $ Link. contextpath is a default method supported by the engine. You can obtain the root path of application execution.
Velocity is a Java-based template engine ). It allows anyone to simply use the template language to reference objects defined by Java code. When velocity is applied to web development, the interface designer can develop a web site following the MVC Architecture in sync with Java program developers. That is to say, the page designer can only focus on the page display effect, java developers focus on business logic encoding. Velocity separates Java code from web pages, which facilitates the long-term maintenance of web sites and provides an optional solution besides JSP and PHP.
Velocity is far more powerful than Web site development. For example, it can generate SQL, postscript, and XML from templates, it can also be used as an independent tool to generate source code and reports, or as an integrated component of other systems. Velocity can also provide template service for the turbine web development architecture ). Velocity + turbine provides a template service that allows a web application to be developed with a real MVC model.
The update address of velocity's Eclipse plug-in is: http://propsorter.sourceforge.net/veloeclipse
Velocity javadoc: http://www.oschina.net/uploads/doc/velocity-1.5/index.html
This article from: http://blog.sina.com.cn/s/blog_6b9c45440100yhr0.html