Action Tags_1
- The action tags are used to control the flow between pages and to use Java Bean.
- The jsp:useBean, jsp:setProperty, jsp:getProperty tags are used for bean development
1. jsp:forward action tag
- The jsp:forward action tag is used to forward the request to another resource it may be jsp, html or another resource
1_1 without parameter
1_2. with parameter
2. jsp:include action tag
- The jsp:include action tag is used to include the content of another resource it may be jsp, html or servlet
- It is better for dynamic pages because there might be changes in future
Example
1) index.jsp
2) process.jsp
3) result
'Back-End > Jsp' 카테고리의 다른 글
[Jsp] Expression Language(EL) - JSP (0) | 2016.07.08 |
---|---|
[Jsp] (2)Action Tags_useBean (0) | 2016.07.08 |
[Jsp] Exception (0) | 2016.07.07 |
[Jsp] Include & taglib directive (0) | 2016.07.07 |
[Jsp] Page directives (0) | 2016.07.06 |