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
chief : tribe :: governor :
if a=2, b=3, c=6 Find the value of c/(a+b)-(a+b)/c
mention your extra-curricular interest. Which do you actively pursue? how do you see these developing in the future?
k, l are men who take home a salary of x, y respectively.the total amount taken home is
Why we use Caffine in HPLC calibration?
If LOAD = MPBE and DRIVE = ESJWF Then LADDLER = ?
Current/most recent employer (Please state full names and address including Country and post code) Current Position Held When would you be available to start work? ONLINE INTERVIEW [INSTRUCTIONS: Give brief answers to all the under listed questions] QUESTIONS ANSWER SPACE 1) What are your years of experience? 2) How do you approach a technical problem? Give an example. How long do you think it would be before you will make a significant contribution to the team/company?
albert and fernandes they have two leg swimming race. both start from opposite and of the pool. On the first leg, the boys pass each other at 18 mt from the deep end of the pool. during the II leg they pass at 10 mt from the shallow end of the pool. Both go at const speed. but one of them is faster. each boy rests for 4 sec to see at the end of the i leg. what is the length of the pool.
5) Failure to use null indicator variable when referencing a nullable column will give the following SQLCODE a) +150 b) –001 c) +276 d) +305
a man is 24 years older than his son. In two years, his age will be twice the age of his son. The present age of his son is?
What do you think are your personal strengths and what are the areas where you need to improve as an individual?
a cube has colors blue,red ,yellow each on two opposite sides.cube is divided into "32 small cubes and 4 large cubes". how many cubes (on 36 cubes) have blue at least one side. how many cubes have colors on two sides.
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
A Father Has 7 Pennys With Him And 1 Water Melon Is For 1p, 2chickoos For 1p, 3 Grapes Foe 1p. He Has Three Sons. How Can He Share The Fruits Equally?
If a square is formed by the diagonal of the square as an edge, what is the ratio between the area?