What is the first statement in jsp page.

Answers were Sorted based on User's Feedback



What is the first statement in jsp page...

Answer / sandeep m

First statement in jsp can be anything such as a scriptlet
(<%.......%>), expression <%= .......%>), declaration
(<! ........>) or template text or java script.

Is This Answer Correct ?    17 Yes 3 No

What is the first statement in jsp page...

Answer / kalyan

<%@ page ......%> --->it is import statement used in jsp.
<%! declaration (intilization) %>

<% Script let code %> ---->it copied into same java
code we enter into the scriptlet code ,it cant change th
code.

<%= Expression code %> ----->it uses a expression code

Is This Answer Correct ?    8 Yes 0 No

What is the first statement in jsp page...

Answer / paku

page

Is This Answer Correct ?    7 Yes 2 No

What is the first statement in jsp page...

Answer / amutha

<%@ page language="java"------- %>
or
Any valid html tags or scriptlet

Is This Answer Correct ?    5 Yes 0 No

What is the first statement in jsp page...

Answer / paku

(<%.......%>), expression <%= .......%>), declaration
(<! ........>) or template text or java script.

Is This Answer Correct ?    2 Yes 0 No

What is the first statement in jsp page...

Answer / nilofar

<%@ page language="java"%>

Is This Answer Correct ?    2 Yes 1 No

What is the first statement in jsp page...

Answer / srikanth tummala

in any or any type of program in java the first statement
should be "package".

Is This Answer Correct ?    1 Yes 12 No

Post New Answer

More Servlets Interview Questions

How to get the actual path of servlet in server?

0 Answers  


Can we override destroy method in servlet?

0 Answers  


can u give some realtime example in ploymorphism? and inheritance?

11 Answers   SolutionNET,


Can we use servlets in JavaScript?

2 Answers  


How do you invoke a Servlet? What is the difference between doPost method and doGet method?

0 Answers  






Explain the difference between servletconfig and servletcontext in servlet?

0 Answers  


What is called servlet mapping?

0 Answers  


Should I override the service() method?

0 Answers  


What is context in servlet?

0 Answers  


Describe servlet?

0 Answers  


What is the purpose of inter-servlet communication?

0 Answers  


What is lazy loading and what is Generic Servlet Class?

0 Answers  


Categories