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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

useBean

A
  • this action is used when we want to use beans on JSP page
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

JavaBeans

A
  • classes that encapsulate many objects into a single object (bean).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly