This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Servlets and the fly likes Difference between servlet and jsp? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Difference between servlet and jsp?" Watch "Difference between servlet and jsp?" New topic
Author

Difference between servlet and jsp?

Ganesan Ramakrishnan
Ranch Hand

Joined: Mar 18, 2008
Posts: 87
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Difference between servlet and jsp?
 
Similar Threads
attributes and listener hfsj question 10
difference
Do you have elegant way of nullpointer exceptions
Scriptlets -> Time and Space Complexity
is servlet and jsp same?