What are JSP scripting elements?

Answers were Sorted based on User's Feedback



What are JSP scripting elements?..

Answer / muhammad farhaan

Scriptlet, expression and declaration are called JSP
scripting elements.

Is This Answer Correct ?    20 Yes 4 No

What are JSP scripting elements?..

Answer / peeyush

<%....%>scriptlet , embeding scripting code
<%=...%>expression
<%!....%> declaration

Is This Answer Correct ?    14 Yes 2 No

What are JSP scripting elements?..

Answer / santosh

JSP scripting elements let you insert code into the servlet
that will be generated from the JSP page. There are three forms:
1. Expressions of the form <%= expression %>, which are
evaluated and inserted into the servlet’s output
2. Scriptlets of the form <% code %>, which are inserted
into the servlet’s _jspService method (called by service)
3. Declarations of the form <%! code %>, which are inserted
into the body of the servlet class, outside of any existing
methods

Is This Answer Correct ?    9 Yes 0 No

What are JSP scripting elements?..

Answer / venki

Templates
Scriptlets
Declaratives ststements
TagLibDirectives

Is This Answer Correct ?    17 Yes 12 No

What are JSP scripting elements?..

Answer / ashok.s

Templates
Scriptlets
Declarative
expressions

Is This Answer Correct ?    11 Yes 10 No

What are JSP scripting elements?..

Answer / 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

What are JSP scripting elements?..

Answer / ashok sangi

scriptlet tag.decleration tag,expression tag

Is This Answer Correct ?    1 Yes 0 No

What are JSP scripting elements?..

Answer / m.jahnavi

directive elements
action elements
scripting elements
expression language

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More JSP Interview Questions

What is the <jsp:param> standard action?

0 Answers  


How is jsp used in the mvc model?

0 Answers  


What is application scope in jsp?

0 Answers  


What is a jsp expression?

0 Answers  


When the destroy method of the jsp's are called?

0 Answers  






What are the different scope values for the <jsp:usebean> tag?

0 Answers  


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?

0 Answers  


Explain client and server side validation?

0 Answers  


Are dialogue tags necessary?

0 Answers  


List the different scope values for the <jsp:usebean> tag in jsp?

0 Answers  


How do I include static files within a jsp page?

0 Answers  


What is _jspservice method?

0 Answers  


Categories