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
How can I implement a thread-safe jsp page? What are the advantages and disadvantages of using it?
Explain the difference between include directive and include action in jsp?
What is scriptlet in jsp?
Why are jsp pages preferred for creating web-based client program?
Why is jstl used?
What is the jsp:setproperty action?
Can we override jsp service method?
How we can disable session in jsp?
What is attribute in jsp?
Is jsp server side scripting language?
What's the difference between javabeans and taglib directives?
What is jsp life cycle?
What is the use of?
What is the purpose of jsp and why it is widely used?
What jsp lifecycle methods can be overridden?