第一个 pring 输出对应的HTTP请求应答头,可以去掉domino自己添加的html标签
json:Print "content-type:text/plain;charset=UTF-8;"
xml:Print "content-type:text/xml;charset=UTF-8;"
eml:Print "content-type:text/eml;charset=UTF-8;"
另外注意domino代理只能输出字符流数据,不能输出字节流数据,如果需返回字节流数据,可以考虑domino自己的Servlet![点击图片可在新窗口打开](http://bbs.chinalotus.com/images/smilies/default/smile.gif)
posted @
2012-09-22 22:09
hannover
阅读(
1296)
评论()
编辑
收藏
举报