package cn.cerc.ui.page;

import java.io.PrintWriter;

import cn.cerc.mis.core.IForm;

public class UIPageWelcome extends UIPage {

    public UIPageWelcome(IForm form) {
        super();
        this.setForm(form);
    }

    @Override
    protected void writeHtml(PrintWriter out) {
        out.println("<!DOCTYPE html>");
        out.println("<html>");
        out.println("<head>");
        writeHead(out);
        out.println("</head>");
        out.println("<body>");
        out.println(this.getDocument());
        out.println("</body>");
        out.println("</html>");
    }


}

@@ -479,38 +479,21 @@
     
-out.println(this.getDocument()
+writeBody(out
 );%0A 

Update UIPageWelcome.java