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 differences between the jsp custom tags and java beans?

740


What is jsp and how it works?

690


How many tags are there in jsp?

673


How to restrict page errors display in a JSP page?

770


How can the applets be displayed in the jsp? Explain with an example.

728


What is context url?

687


How to make a “new line in html” in jsp?

713


What do you mean by custom tag in jsp?

718


What is the difference between "JTable" and "JTGrid"? can they be used interchangeably?

2002


What is difference between jspwriter and servlet printwriter?

742


How to run java program in jsp page?

698


Can jsp run without server?

661


What is an implicit object?

669


What is the difference between a scrollbar and a scrollpane in jsp?

675


How do I view a jsp file?

678