Answer Posted / santosh
JSP scripting elements let you insert code into the servlet
that will be generated from the JSP page. There are three forms:
1. Expressions of the form <%= expression %>, which are
evaluated and inserted into the servlet’s output
2. Scriptlets of the form <% code %>, which are inserted
into the servlet’s _jspService method (called by service)
3. Declarations of the form <%! code %>, which are inserted
into the body of the servlet class, outside of any existing
methods
Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
Can we call destroy method inside init method?
Define scriptlet, expression and declaration in jsp?
Show the 2 types of comments in JSP.
Explain the difference between include directive and include action in jsp?
How can I implement a thread-safe jsp page?
What are the advantages of jstl?
What is jsp in javascript?
What is jsp application?
Is jsp a front end?
What are the differences between get and load methods?
How can I set a cookie and delete a cookie from within a jsp page?
What is scriptlet tag?
What are the attributes of page directive?
What are advantages of jsp over asp, php, pure servlets and others?
What is a session in web?