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
Why jsp and servlets are used?
List all tags that are provided in jstl?
What are directives in jsp?
Why is it that JComponent have add() and remove() methods but Component doesn’t?
What is jsp declaration?
What is < jsp:forward> tag for?
Differentiate between jsp scriptlet tag and declaration tag.
What are the components of jsp?
A jsp page, include.jsp, has a instance variable "int a", now this page is statically included in another jsp page, index.jsp, which has a instance variable "int a" declared. What happens when the index.jsp page is requested by the client?
What is an api with example?
List down the major differences between the jsp custom tags and java beans.
Is jsp and javascript same?
What are the lifecycle phases of a jsp?
What are the different life-cycle methods?
why ,what, when, where,how the extended star schema is used.