Answer Posted / 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 |
Post New Answer View All Answers
What is a hidden comment?
Can we call destroy method inside init method?
How to use jsp el to get http method name?
How many types of jsp tags are there?
What do you mean by custom tag in jsp?
What is jsp servlet?
What are the implicit, internal objects and methods on the jsp page?
What is full api?
Is jsp compiled?
What is scriptlet tag?
Explain the advantages in jsp?
What is the difference between directive include and jsp include?
How many jsp scripting elements are there and what are they?
What is application scope in jsp?
What is difference between jsp and jstl?