page = page.replaceAll("\\.\\./", webappname+"/");
return page;
}
//测试方法
public static void main(String[] args){
HtmlGenerator h = new HtmlGenerator("webappname");
h.createHtmlPage("http://localhost:8080/yanCms/three/three parent_id=10&id=103&type=10","c:/a.html");
System.out.println("静态页面已经生成到c:/a.html");
}
}