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

What is the type of method for sending request from http server?

0 Answers  


What do you mean by request dispatcher in servlet?

0 Answers  


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

0 Answers  


why business logic written using servlets not in jsp. Jsp used for presentation purpose. serlvet used for coding business logic and controller logic. Reason for using servlets in business logic.

5 Answers  


Hi Frieds, I am new to servlet why to use servlet in webapplication. what i know is " use servlet as a controller in mvc and to implemnent business logic . is it correct ? One more thing reason for implementing business logic with servlets , why not jsp.

4 Answers  






How do you create a cookie using servlet?

0 Answers  


How to get the IP address of client in servlet?

0 Answers  


What is servlet tunnelling?

1 Answers  


What is a deployment descriptor?

0 Answers  


How to get the server information in a servlet?

0 Answers  


Directive Include and Action Include how both are working in JSP, what is the difference between both?In which suituation we have to choose these elements?

4 Answers   AZTEC,


Which java framework is most popular?

0 Answers  


Categories