Response.ContentType 详细列表

不同的ContentType 会影响客户端所看到的效果.默认的ContentType为 text/html 也就是网页格式.
代码如:
<% response.ContentType ="text/html" %>
<!--#i nclude virtual="/ContentType.html" -->

显示的为网页,而
<% response.ContentType ="text/plain" %>
<!--#i nclude virtual="/sscript/ContentType.html" -->

则会显示html原代码.
以下为一些常用的 ContentType
..................


Tags: ASP  JSP  JSP编程  详解  网站  
申请免费JSP空间(支持FTP上传!)myjavaserver
申请地址:http://www.myjavaserver.com该web hosting提供5M的免费空间,并且支持JSP、Servlet,还有Hypersonic数据库提供。我试下来感觉速度还可以,有4万多用户在使用,稳定性应该可以保证。对于J2EE方面的新手,申请一个用来练练手还是不错的。:) 申请很简单,只要singup,然后通过一封email激活即可。 1.对于JSP,开通以后有一个默认的测试页面helloworld.jsp,只要输入相应网址就可以运行了,看看我的吧:http://www...
Tags: JSP空间  myjavaserver  网站  服务器  
分页:[«] 1[»]
Feed订阅集
勤劳致富^.^
Powered By Z-Blog   STYLE by busfly . FatMouse
Copyright © 2007 巴士飞扬技术博客. . 沪ICP备07027972号. 会员群1(VS为主):3769186.