• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets&Jsp-- doubt

 
Krishna Srinivasan
Ranch Hand
Posts: 1874
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Krishna Srinivasan
Ranch Hand
Posts: 1874
Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
also servlets uses objectorientsd concepts bcos its pulely java file rather jsp is web page.
 
Ron Newman
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
say what ?
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic