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

What is the error in the given sequence. 2,3 6,7 14,15 29,46.

1172


Find the product of the prime numbers between 1-20

1180


If Rs.1260 is divided between between A, B and C in the ratio 2:3:4, what is C's share?

1580


sir i need rrb secunderabad goods guard previous exam model papers

2505


A sum of Rs 312 is divided among 100 boys and girls such that every boy gets an amount of Rs 3.60 and every girl gets 2.40 Rs. Calculate the number of girls in the group.

1413


1/3 rd of the contents of a container evaporated on the 1 st day. 3/4 th of the remaining contents of the container evaporated the second day. what part of the contents of the container are left at the end of the second day.

1253


Everyday in his business a merchant had to weigh amounts from 1 kg to 121kgs, to the nearest kg.What are the minimum number of weight required and how heavy should they be?

1273


A bus started from bus stand at 8.00a m and after 30 min staying at destination, it returned back to the bus stand. The destination is 27 miles from the bus stand. The speed of the bus 50 percent fast speed. At what time it retur4ns to the bus stand

1398


The mean of 100 bags was found to be 30. What will be the correct mean if at the time of calculation two bags were wrongly taken as 32 and 12 instead of 23 and 11?

1466


Total balls z,red balls N remaining are blak balls,then %of black balls equal to

1255


A certain number of bullets were shared by 3 people equally.Each of them fired 4 bullets and the sum of the remaining bullets was equal to the initial share each had got.what was the initial number of bullets?

1344


A triangle ABC is given, a line DE is parallel to base side and that cuts the triangle. The ratio of area of triangle to the area of trapezium given DE/BC= ?

1414


Five trays cost is 0.35 each and dozen-----

2168


what ia tha c++ code to find the position of prime numbers in prime number series??

2507


A can do a piece of work in 20 days, which B can do in 12 days. In 9 days B does ¾ of the work. How many days will A take to finish the remaining work?

1103