您的位置:首页 > Web前端 > JavaScript

Being a JSP: using JSP(Head First Servlets and JSP)

2010-07-23 18:37 627 查看
  In the end, a JSP is just a servlet.

  The Container generates a class from your JSP that implements the HttpJspPage interface. This is the only part of the generated servlet’s API that you need to

know. You don’t care that in Tomcat, for example, your generated servlet extends: org.apache.jasper.runtime.HttpJspBase. All you need to know about are the three key methods: jspInit(), jspDestroy(), _jspService().

  JSP Element Magnets: directive, declaration, EL expression, scriptlet, expression, action.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: