Domino代理中输出完整的HTML

类别:编程语言 点击:0 评论:0 推荐:
Print "Content-Type:text/plain"             '<-----关键是这两句
 Print "Content-Type:text/html"
 Print
 Print "<HTML>"
 Print "<HEAD>"
 Print {<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb_2312-80">}
 Print {<META NAME="Generator" CONTENT="Microsoft Word 97">}
 Print {<LINK REL=StyleSheet HREF="/form.css" TYPE="text/css" MEDIA=all>}
 Print {<LINK href="/web/gov/tree/doc.css" rel=stylesheet>}
 Print "<TITLE>"+subject+"</TITLE>"
 Print "</HEAD>"
 
 Print "<body >"
 Print "<br><br><br>"
 Print "<div align = center style='font-size :11pt'>  你所选择的组织<font color=red>"+SelectedOrg+"</font>的注册文本文件,已保存存到服务器上"
 Print "<br><br>  文件名:<font color=red>"+txtPaht+SelectedOrg1+".txt</font>"
 Print "<br><br>"
 Print "<div align = center>"+"<a href='javascript:history.go(-1)'>返回</a></div><div>"
 Print "</body></html>"

本文地址:http://com.8s8s.com/it/it22164.htm