What is the first statement in jsp page.
Answers were Sorted based on User's Feedback
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 |
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 |
Answer / amutha
<%@ page language="java"------- %>
or
Any valid html tags or scriptlet
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / paku
(<%.......%>), expression <%= .......%>), declaration
(<! ........>) or template text or java script.
| Is This Answer Correct ? | 2 Yes | 0 No |
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 |
What is the need of servlet filters?
when the webcontainer creates ServeletConfig,ServletContext objects? befoure creating the Servlet object or not?
Is java servlet still used?
What are setComment and getComment methods in Cookies?
What is servlet in tomcat?
What is webservlet?
How to handle exceptions thrown by application with another servlet?
if we know the any consultancies, it will place in company work through consultancy(contract base). please help me I'm 2008 pass out java candidate...
What is the difference between callling a RequestDispatcher using ServletRequest and ServletContext?
When a client request is sent to the servlet container, how does the container choose which servlet to invoke?
Write a program to show the functionality of doget and dopost method?
how to make the IP address to .com