Author
Difference between servlet and jsp?
Ganesan Ramakrishnan
Ranch Hand
Joined: Mar 18, 2008
Posts: 85
posted Apr 29, 2008 00:06:00
0
Which will be the faster one either servlet or jsp
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
Hi, in end ,jsp become servlet...so servlet is faster...but jsp is precompiled page...so no need to deploy for every changes like servlet... thanks & regards, seetharaman.v
mano ranjan
Ranch Hand
Joined: Jul 12, 2007
Posts: 102
Hi, As JSPs are converted in servlets so why we need to go for Jsp rather than using servlets.. thanks mano
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
Hi mono, All the web designer no need to know java.servlet & jsp are components of web application . jsp is view purpose(contain maximum of html).servlet is a good controller(contain maximum of java code).. take an example, jsp is a batsman,servlet is a bowler..but both are cricket player to win a match thanks & regards, seetharaman
Amarender Reddy
Ranch Hand
Joined: May 12, 2005
Posts: 54
Mano, With your 93rd post you should be aware that similar quiries were raised a number of times and that a simple search in the ranch would give you ample explanation and better examples -Amar
subject: Difference between servlet and jsp?