adspace
Answer Posted / Priyanshu Jain
The JSP (JavaServer Pages) elements include Scriptlets, Declarations, Actions, and Formatting-only tags. Scriptlets (<% %> or <scriptlet>) are used for Java code, Declarations (<%! %> or <declaration>) are used to declare variables and methods outside the scriptlet, Actions (<jsp:action>) are predefined tags provided by JSP that perform specific tasks like including other pages, iterating over collections, etc., and Formatting-only tags (<html:...>) are deprecated since JSP 2.1 and should be replaced with JSTL or EL.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers