Answers were Sorted based on User's Feedback
Answer / peeyush
<%....%>scriptlet , embeding scripting code
|Is This Answer Correct ?||14 Yes||2 No|
Answer / 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
|Is This Answer Correct ?||9 Yes||0 No|
Answer / venki
|Is This Answer Correct ?||17 Yes||12 No|
Answer / ashok.s
|Is This Answer Correct ?||11 Yes||10 No|
Answer / vikas
Between <% and %> tags,any valid Java code is called a
Scriptlet. This code can access any variable or bean declared.
For example,to print a variable.
<% String username = "visualbuilder" ;
out.println ( username ) ; %>
|Is This Answer Correct ?||8 Yes||7 No|
Answer / ashok sangi
scriptlet tag.decleration tag,expression tag
|Is This Answer Correct ?||1 Yes||0 No|
Answer / m.jahnavi
|Is This Answer Correct ?||2 Yes||2 No|
How to implement a thread-safe jsp page?
Why don’t we need to configure jsp standard tags in web.xml?
What is the jspdestroy() method?
Perform a browser redirection from a jsp page?
How do you delete the session data?
What is _jspservice method?
How does el search for an attribute?
how to enable session tracking for jsp pages,if the browser has disabled cookies?
Can a subsequent request be accessed with one’s servlet code, if a request attribute is already sent in his jsp?
What is content type in jsp?
List the various action tags used in jsp.
How can I override the jspinit() method within a jsp page?