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

Can anyone send me SBI clerical staff exam model question paper to my mail id. Sandhya.b12@gmail.com

0 Answers  


There are 4 boys and 3 girls. What is the probability the boys and girls sit alternately?

0 Answers   Infosys,


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?

2 Answers   Accenture, TCS,


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?

0 Answers   Flipkart,


If x,y,z are chosen frm -3,1/2,2 what is the largest value of (x/y)*z*z

0 Answers   Verifone,


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?

2 Answers   Paladon,


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.

0 Answers  


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 .

5 Answers   CMC,


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.

0 Answers   IBM,


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%

2 Answers   Mu Sigma,


Categories