InterviewSolution
| 1. |
What Is A Scriptlet? |
|
Answer» A scriptlet can contain any number of language statements, variable or method DECLARATIONS, or expressions that are valid in the PAGE SCRIPTING language.Within scriptlet tags, you can 1.Declare variables or methods to use later in the file (see also Declaration). SCRIPTLETS are executed at request time, when the JSP engine processes the client request. If the scriptlet produces output, the output is stored in the out object, from which you can display it. A scriptlet can contain any number of language statements, variable or method declarations, or expressions that are valid in the page scripting language.Within scriptlet tags, you can 1.Declare variables or methods to use later in the file (see also Declaration). Scriptlets are executed at request time, when the JSP engine processes the client request. If the scriptlet produces output, the output is stored in the out object, from which you can display it. |
|