Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlets and JSP

 
abhay rege
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Who is faster among servlets and jsp? Why? When you should go for servlet and when for a jsp?
Thank you.
 
Harpal Singh
Ranch Hand
Posts: 229
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Abhay,
Servlets are allways faster...coz ultimately ur JSP's also convert in to servlets...now when to use what...when u have just business layer use servlets and when u have presentation layer that is to avoid spaghetti HTML code with servlets you use JSP....
hope it was of some help,
Harpal
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic