• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlets and JSP  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!