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.

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


Please Help Members By Posting Answers For Below Questions

If the area of a square increases by 69%, then the side of the square increased by

1172


What is the angle between the two hands of the clock when it shows 10:10?

1185


On BRIC So called New york has risen by on average sales plese chewk the incorrect sentence option 1. so called 2. Has risen 3. By on average

2353


vernacular : place : : fingerprint : ?

2575


A sales person multiplied a number and get the answer is 3, instead of that number divided by 3. what is the answer he actually has to get ? (1/3). 7. A ship started from port and moving with I mph and another ship started from L and moving with H mph. At which place these two ships meet ?

1447


The population of a city increases @ 4% p.a. That is an additional annual increase of 4% of the population due to this influx of job seekers, the % increase in population after 2 years is

1283


The sum of the digits of a two digit number is 8. When 18 is added to the number, the digits are reversed. the number?

1138


distance D=rt where r & t are +ve and r is constant,as t increases then D_________

1304


Find sqrt of 113 up to 3 decimal places.

1195


G(0)=-1, G(1)=1, G(N)=G(N-1) - G(N-2), G(5)= ?

1272


In a triangle, the average of the two angles is 56 degrees where as their difference is 24 degrees. What is the measurement of the biggest angle of the triangle?

1201


a father is 30 times more than his son however he will be only thrice as old as the son what is father's present age ?

1152


4 men can cross a bridge in 3,7,13, 17 minutes. Only two can cross the bridge at a time. The time taken by the two to cross the bridge is equal to the time taken by the slowest person of the two. Find the minimum time to all of them cross the bridge?

1407


In a classroom, a student is ranked 12th from right and 9th from left. How many students are there in total?

1218


2 oranges,3 bananas and 4 apples cost Rs.15 . 3 ornages 2 bananas 1 apple costs Rs 10. what is the cost of 3 oranges, 3 bananas and 3 apples

1287