Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Difference between JSP & servlets.



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

Post New Answer

More General Aptitude Interview Questions

What is the selling price of a scooter? If the cost of the scooter is Rs 50 and a profit of 10% over selling price is earned.

0 Answers   3i Infotech,


There are 100 men and 100 women on the dance floor. They want to dance with each other. Then which of the following statements is always true: a) There are 2 men who danced with equal no. of women’s b) There are 2 women who danced with equal no. of men a) both a and b b)only a c)only b d)none

4 Answers   TCS,


I am in need of probationary officers Exam model question papers.

0 Answers   TCS,


How many mashes are there in 1 square meter of wire gauge if each mesh is 8mm long and 5mm wide ?

0 Answers   Mu Sigma,


pls send me question paper anser for clerical exam of state bank & uniun bank of india.

0 Answers   State Bank Of India SBI,


f(X)= 2X-1 + f(X-1) if X is not equal to zeroandiff(X=0)=0, If f(X)= f(X-1)+f(X-2) for X>1 then X= ?

0 Answers   CTS,


Let C be a circle with centre P0 and AB be a diameter of C. Suppose P1 is the mid point of the line segment P0B, P2 is the mid point of the line segment P1B and so on. Let C1, C2, C3, ...... be circles with diameters P0P1, P1P2, P2P3 ... respectively. Suppose the circles C1 C2, C3, .... are all shaded. The ratio of the area of the unshaded portion of C to that of the original circle C is

4 Answers   CAT,


If it takes 10 technicians working 6 hours to build a server. They start woring at 11 AM and 1 technician is added per hour starting at 5 PM. At what time they will finish the server?

0 Answers   Changepond,


If A is traveling at 72 km per hour on a highway. B is traveling at a speed of 25 meters per second on a highway. What is the difference in their speeds in m/sec.

4 Answers   Accenture,


Complete the series 1 6 3 7 5 8 7 ?

0 Answers   Accenture,


hi friends i am neha and i want to know that for bank clerical exams what are the subjects i prepare for ex.reasoning,numericals,g.k so plz give me the names of total categories so can i prepare well for my bank exams plz helpme

6 Answers   BSRB,


What number should be added to or subtracted from each term of the ratio 17 : 24 so that it becomes equal 1 : 2.

0 Answers   TCS,


Categories