Welcom to RO_wsy's blog

摘要: http请求关键要素: 1.http方法(get,post)等 2.请求URL 3.参数http响应关键要素: 1.状态码 2.内容类型(MIME类型) 3.内容用post不用get的理由: 1.get携带数据量有限 2.get直接将查询串加到url后,安全性差 3.post不能被客户建立书签get是幂等操作,post不是幂等操作。servlet程序框架:import javax.servlet.*;import javax.servlet.http.*;import java.io.*;public class MyServlet extends HttpServlet { public v 阅读全文
posted @ 2012-11-07 12:00 RO_wsy 阅读(133) 评论(0) 推荐(0) 编辑