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

Are Servlets by default thread safe or not? thanks in advance regards Sudhakar

3 Answers  


What's the difference between servlets and applets?

0 Answers  


Hi frnd can i any one kindly can post for me portlet,hibernate and spring example application and with flow explantion configuration using Jdeveloper.and related links ar tutorials kindly please send me .its urgent for me .thanks in advance...........else can any one send to kondaiah.goddeti@gmail.com

0 Answers  


How do you track a user session in servlets?

3 Answers  


What do you mean by httpservlet and how it is different from the genericservlet?

0 Answers  






How do you deal property files in servlet?

0 Answers  


How do you configure a centralized error handler in servlets?

0 Answers  


What is servlet lazy loading?

0 Answers  


What are the life-cycle methods for a servlet?

0 Answers  


Who is responsible to create the object of servlet?

0 Answers  


When to use doget() and when dopost()?

0 Answers  


Difference between jakarta tomcat and apache Tomcat?

4 Answers   IBM,


Categories