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
Why are jsp pages preferred for creating web-based client program?
What is the use of implicit object named "application" in Application?
What are jsp el implicit objects and how it’s different from jsp implicit objects?
Is jsp platform dependent?
How do I mix jsp and ssi #include? What is the difference between include directive & jsp:include action?
What is jsessionid?
Explain client and server side validation?
What is < jsp:forward> tag for?
What are the types of jstl tags?
What is the requirement of a tag library?
How is jsp better than servlet technology?
Can we write java code in jsp?
How jsp is compiled?
Which tags are used for bean development?
Why do we need custom tags in jsp?