A number of Web application generators have been proposed for automating management of the consistency and the security of Web applications. These approaches, however, concentrate on server program type architecture and it is difficult to apply them to server page type architecture. In this paper, extending the model for server program type Web applications, we propose Web transition diagrams for server page type Web applications. Then we present a Web application generator which generates server page type Web applications from our Web transition diagrams based on template method. Our system enables us to generate typical server page type Web applications by visual operations without procedural programming. Each generated Web page document has program codes for basic session management and input/output checks.