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 the resourcebundle class in jsp?
What is jsp-config in deployment descriptor?
What is the default value of session attribute in jsp?
Give an example where you need jsp custom tag?
Give the use of session object.
When destroy method of jsp is called?
What are directives in jsp?
Is jsp compiled?
What class.forname will do while loading drivers?
Explain the difference between servletcontext and pagecontext in jsp?
Explain the jsp:setProperty action.
What are the steps involved in reading data from a form using jsp?
What is tag file?
Can we write java code in jsp?
List out the various scope values of jsp action.