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
What is the error in the given sequence. 2,3 6,7 14,15 29,46.
Find the product of the prime numbers between 1-20
If Rs.1260 is divided between between A, B and C in the ratio 2:3:4, what is C's share?
sir i need rrb secunderabad goods guard previous exam model papers
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.
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.
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?
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
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?
Total balls z,red balls N remaining are blak balls,then %of black balls equal to
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?
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= ?
Five trays cost is 0.35 each and dozen-----
what ia tha c++ code to find the position of prime numbers in prime number series??
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?