Difference between JSP & servlets.
Answer / 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 |
Can anyone send me SBI clerical staff exam model question paper to my mail id. Sandhya.b12@gmail.com
There are 4 boys and 3 girls. What is the probability the boys and girls sit alternately?
please send the marketing aptitude,computer knowldege for sbi clerical exam ........
0 Answers NFL, State Bank Of India SBI,
A ship started from port and moving with 'I' miles/hour and other ship started From L and moving with 'H' miles/hour . At the place where these two ships will meet?
Ram starts from A walking 2 km North and turns right and walks 4 km and turns right again and walks 4 km and turns right again and walks 4 km and meets Radha at Bwalking in the opposite direction to Ram . Which direction does Ram walk after the first turn?
If x,y,z are chosen frm -3,1/2,2 what is the largest value of (x/y)*z*z
Susan wants to put up fencing around three sides of her rectangular yard and leave a side of 20 feet unfenced. If the yard has an area of 680 square feet, how many feet of fencing does she need?
Hi, Please provide me the National Informatics centre written test papers.This my mail id madhaviusha.s@gmail.com.Plz provide me.this is very helpful to me. Thanks.
How many cars are there in the USA?
16 Answers BRS, Microsoft, Sedgwick,
Two candles of equal lengths and of different thickness are there. The thicker one will last of six hours. The thinner 2 hours less than the thicker one. Ramesh light the two candles at the same time. When he went to bed he saw the thicker one is twice the length of the thinner one. For how long did Ramesh lit two candles .
A person has Rs 100/- in his pocket, he can as 25 pencils or 15 books. He kept 15% of the money for travelling expenses and purchased 5 pencils. So how many books he can purchase with the remaining money.
In a society of 80 resident families who subscribe newspapers, 60% of them subscribe The Hindu newspaper, 80% of them subscribe regional language newspaper and 70% of them subscribe TOI. How many families could, at the least, be subscribing to all the three newspapers (a) 0% (b) 5% (c) 10% (d) 20%