What are JSP scripting elements?

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


Please Help Members By Posting Answers For Below Questions

What is the resourcebundle class in jsp?

667


What is jsp-config in deployment descriptor?

774


What is the default value of session attribute in jsp?

629


Give an example where you need jsp custom tag?

684


Give the use of session object.

740


When destroy method of jsp is called?

707


What are directives in jsp?

716


Is jsp compiled?

677


What class.forname will do while loading drivers?

708


Explain the difference between servletcontext and pagecontext in jsp?

676


Explain the jsp:setProperty action.

726


What are the steps involved in reading data from a form using jsp?

933


What is tag file?

688


Can we write java code in jsp?

725


List out the various scope values of jsp action.

791