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 jstl core tags?
How do I use comments within a jsp page?
What do you mean by custom tag in jsp?
What are the elements of jsp?
What are the three tags used in jsp bean development?
Is jsp server side or client side?
How can we use beans in jsp?
Differentiate between pagecontext.include and jsp:include?
What do you mean by jstl?
Why is jstl used?
How can I prevent the use of scripts and java code on the jsp page?
Is jsp and javascript same?
How to make a “new line in html” in jsp?
What are the different jsp element types?
What is the major difference between servletcontext and pagecontext?