Actions Flashcards
1
Q
JSP actions
A
< % jsp: action_name attribute=”value” / >
JSP actions use the construct in XML syntax to control the behavior of the servlet engine.
2
Q
12 types of JSP action tags
A
- jsp: useBean
- jsp: include
- jsp: setProperty
- jsp: getProperty
- jsp: forward
- jsp: plugin
- jsp: attribute
- jsp: body
- jsp: text
- jsp: param
- jsp: attribute
- jsp: output
3
Q
Common Attributes
A
- id: uniquely identifies the Action element, and allows the cation to be referenced inside the JSP page
- scope: identifies the lifecycle of the Action element
4
Q
useBean
A
- this action is used when we want to use beans on JSP page
5
Q
JavaBeans
A
- classes that encapsulate many objects into a single object (bean).