请详细解释每条语句的作用
来源:学生作业帮 编辑:百度作业网作业帮 分类:综合作业 时间:2024/05/16 03:55:37
请详细解释每条语句的作用
response.setContentType("");
response.getContentType(“”);
request.getContentType(“”); // 为啥 request没有setcontentType?
request.getContextPath();
response.setContentType("");
response.getContentType(“”);
request.getContentType(“”); // 为啥 request没有setcontentType?
request.getContextPath();
google 搜索java servlet api 找httpservletrequest类和httpservletresponse类
看api去吧,一定看得明白.
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/index.html
看api去吧,一定看得明白.
http://tomcat.apache.org/tomcat-5.5-doc/servletapi/index.html