09-JSP、ELとJSTL
1907 ワード
第1節JSP基礎文法
jsp内蔵オブジェクト
第2節MVC
第5節JSTL常用ラベル
jsp内蔵オブジェクト
3.
* jsp ,
* 9 :
* pageContext PageContext ,
* request HttpServletRequest ( )
* session HttpSession
* application ServletContext
* response HttpServletResponse
* page Object (Servlet) this
* out JspWriter ,
* config ServletConfig Servlet
* exception Throwable
PageContextはデータを保存して現在のページだけにします。第2節MVC
1. jsp
1. servlet, response ,
2. jsp, Servlet , jsp, jsp java , html , ,
3. ,java web , mvc ,
2. MVC:
1. M:Model, 。JavaBean
* , : ,
2. V:View, 。JSP
*
3. C:Controller, 。Servlet
*
*
*
* :
1. :
1. , ,
2.
2. :
1. ,
第3節EL紹介と演算子 1. :
* :
1. : + - * /(div) %(mod)
2. : > < >= <= == !=
3. : &&(and) ||(or) !(not)
4. : empty
* : 、 、 null 0
* ${empty list}: 、 、 null 0
* ${not empty str}: 、 、 null >0
第4節EL取得エリアに格納されているデータ第5節JSTL常用ラベル