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 |
431 x 32(probably ) is represented by 15356(probably) in some number system ki what will it represent when converted from that system to decimal.
Sum of 1 to 40 is?
C1,C2 upto Cn are n cities in a country.There are some roads connecting these cities.They are connected in such a that Crth city has r distinct routes connecting each of the other city in the country. 1)if n=27,then how many roads are there in a country? 2)if n=4,in how many distinct routes,can a person travel from c3 to c2?
The value of x is between 0 & 1 which is the larger? A) x B) x^2 C) -x D) 1/x
The area of the maximum size of the circle described from the 10 square inch square?
. In june a baseball team that played 60 games had won 30% of its game played. After a phenomenal winning streak this team raised its average to 50% .How many games must the team have won in a row to attain this average?
Convert 251 decimal to base 8(i.e. octal)?
What are applications of half adder circuit?
Complete the series 1 6 3 7 5 8 7 ?
modulo(373,7)+round(5.8)+truncat(7.2)-round(3.4) = ? i exactly don't remember the truncate function.but the function was where we skip the '.' part.
Alok and Bhanu play the following min-max game. Given the expression N = X - Y - Z where X, Y and Z are variables representing single digits (0 to 9), Alok would like to maximize N while Bhanu would like to minimize it. Towards this end, Alok chooses a single digit number and Bhanu substitutes this for a variable of her choice (X, Y or Z). Alok then chooses the next value and Bhanu, the variable to substitute the value. Finally Alok proposes the value for the remaining variable. Assuming both play to their optimal strategies, the value of N at the end of the game would be
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