Answer Posted / 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 |
Post New Answer View All Answers
What is servlet in tomcat?
Why are servlets used?
Explain mvc pattern.
List out the difference between ServletConfig and ServletContext?
How to get ip address in jsp login page and how to validate like 127.1.0.1 all should not be greater than 255
What are the uses of servlet
Explain the jar and war files in servlet?
Explain request dispatcher and its methods.
What is the use of welcome-file-list?
What is the difference between servlet and jsp?
Why HttpServlet class is declared abstract?
I have a requirement Here we have a ResultSet object that will contain 50 records i need to print those recors in to a webpage(i.e; view according to MVC architectures that mybe servlet or jsp) . Here i need to print the records 10 per page that is 1 to 10 in page one and 11 to 20 in page two like remaining will be appeared in other pages we need to display those page numbers whenever we click on that page number we will go to that page and display 10 records like we will display 5 pages it is like this << 1 2 3 4 5 next >>
What is the life cycle of a servlet?
What is cookie? Why is cookie used?
Explain in brief the directory structure of a web application?