JSP详解

  1. page指令:配置jsp的页面
    1. contentType:response.setContentType();
    2. 设置响应体的mime类型以及字符集
    3. 设置当前jsp页面的编码
    4. import导包   
    5. error
    6. 代码格式<%@   contenType="text/html;charset=utf-8"     import=""        errorPage="500"//隐藏错误信息    isErrorPage="true" //就可以使用exception对象   %>
  2. include:导入页面的资源文件
  3. taglib:导入资源
posted @ 2020-03-10 22:27  sasuke。  阅读(89)  评论(0编辑  收藏  举报