What are JSP scripting elements?
Answers were Sorted based on User's Feedback
Scriptlet, expression and declaration are called JSP
scripting elements.
| Is This Answer Correct ? | 20 Yes | 4 No |
Answer / peeyush
<%....%>scriptlet , embeding scripting code
<%=...%>expression
<%!....%> declaration
| 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
methods
| Is This Answer Correct ? | 9 Yes | 0 No |
Answer / venki
Templates
Scriptlets
Declaratives ststements
TagLibDirectives
| Is This Answer Correct ? | 17 Yes | 12 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
directive elements
action elements
scripting elements
expression language
| Is This Answer Correct ? | 2 Yes | 2 No |
Can we use jsp implicit objects in a method defined in jsp declaration?
What are custom tags?
What jsp lifecycle methods can I override?
Plz any body tell me why use jsp over servlet.what is the benefit of jsp over servlet?
4 Answers Future Generali, HCL,
How do I set password expire time period?
What are the different types of jsp tags?
Why does _jspService() start with an ‘_’ but other lifecycle methods do not?
What will happen if iselignored attribute is set as false?
What is jsp and why do we need it?
What is difference between html and jsp?
What are the two types of comments supported by jsp?
What is jsp processing?