This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Servlets&Jsp-- doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets&Jsp-- doubt" Watch "Servlets&Jsp-- doubt" New topic
Author

Servlets&Jsp-- doubt

Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

What is the difference between servlets & Jsp?
where to use servlets & jsp?which is faster?i have doubt on these basic concepts .please explain.
Advance thanx.


Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
A short look at the tutorials for Servlets and JSPs should answer the first question. A Servlet is a java class, whereas a JSP is an HTML page with some Java code embedded in it. An application server turns a JSP into a Servlet before running it.


Ron Newman - SCJP 1.2 (100%, 7 August 2002)
Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

also servlets uses objectorientsd concepts bcos its pulely java file rather jsp is web page.
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
say what ?
Andres Gonzalez
Ranch Hand

Joined: Nov 27, 2001
Posts: 1561
Originally posted by Krishna Srinivasan:
also servlets uses objectorientsd concepts bcos its pulely java file rather jsp is web page.

nope . jsp's are servlets


I'm not going to be a Rock Star. I'm going to be a LEGEND! --Freddie Mercury
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets&Jsp-- doubt
 
Similar Threads
jsp:useBean doubt?
simple doubt in jsp
Doubt on Protocol & Port number
doubt
doubt