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
What are the main tags in jsp?
How is jsp include directive different from jsp include action. ?
What is the jspdestroy() method?
Give an example of using your own tags.
What are custom tags in jsp?
Is the session object always created on the jsp page, is it possible to disable its creation?
What are the features of jsp?
Explain the difference between jspwriter and servlet printwriter in jsp?
What is the scope of response object?
What is jsp language?
What does jsp mean?
What is a scriptlet?
What’s the difference between forward and sendredirect?
What are custom tags?
What are different types of comments in jsp?