Answer Posted / sivasubramanian.k
JSP are simply the html pages with some Java code
encapsulated in special tags. We use them in that case when
a smaller part of page is generated dynamicly.
Servlets on the other hand, are pure Java classes extendend
from javax.servlet.http.HttpServlet. They can generate html
pages too.
JSPs are subclasses of Servlets. They do thing the other
way with the HTML or presentation code being written and
the code being placed between special tags <% %>. The first
time a page is requested, the JSP compiler creates java
code, compiles it, registers the servlet and calls it.
After the first request, each additional request calls it
like any other servlet.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what types of question tricom will ask
Now i am doing RHCE (Red Hat Certified Engineer). Please give some interview questions of linux.
how to get the system time dynamically in orcle
a radioactive material of mass 16 grms in 10 years due to radiation. how many years will it take for the material to attain a mass f 1 gm
Plz send me the SBI exam previous question paper.
Find out the Simple Interest paid for a sum of $4000 at the rate of 8% per annum for 3 months.
5) DB2 maintains information about the data a) In Tables b) In a set of tables known as DB2 catalog c) In DB2 database d) None of the above
If A=Z, B=Y, C=X, .......... Z=A, Then LIMIT = ?
How many ewes (female sheep) in a flock of 50 sheep are black? 1. There are 10 rams (male sheep) in the flock. 2. Forty percent of the animals are black. statement 1 alone is sufficient, but statement 2 alone is not sufficient to answer the question statement 2 alone is sufficient, but statement 1 alone is not sufficient to answer the question each statement alone is sufficient statements 1 and 2 together are not sufficient, and additional data is needed to answer the question
Which of the following does multithreading allow? A. several transactions that require the same program to use one copy of the program. B. many tasks to be allocated to the terminal. C. an audit trail of all files records from all files updated by a particular application
which country is following one party system
a person went to a shop and asked for change for 1.15paise. but he said that he could not only give change for one rupee. but also for 50p,25p,10p and 5p. what were the coins he had
Complete the given number series 240, 240, 120, 40,?, 2 ?
58,27,12,x,2,1. Find x.
The square of a two digit number is divided by half the number. After 36 is added to the quotient, this sum is then divided by 2. The digits of the resulting number are the same as those in the original number, but they are in reverse order. The ten's place of the original number is equal to twice the difference between its digits. What is the number?