The application provides a method and a system for generating a page. The method comprises the following steps of receiving a page request by a front-end engine; obtaining a page request address from the page request, and according to the page request address, obtaining a corresponding UI (User Interface) model name and a UI model which corresponds to the UI model name; obtaining the information of all UI components, which constitute the page, from the UI model; according to the information of the UI components, assembling all the UI components into the page, and generating the requested page. According to the method for generating the page provided by the application, in the course of generating the page, the front-end engine is allowed not to write JS (JavaScript) codes, so that the quantity of the JS codes of the front-end engine is decreased, thereby facilitating later-stage maintenance.