• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP's Vs Servlet  RSS feed

 
Farouk Mohamed2
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
When can we use only JSP's instead of servlets?

Thanks
 
sandy gupta
Ranch Hand
Posts: 228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When u have more to show and less to do u use jsps and when u have more to do and less to show u use servlets. Remember a jsp compiles into a servlet so there is practically no difference between the two but for the fact that servlets are the controllers pf flow and the jsps are used only for generating 'Dynamic View'
HTH
Sahil
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!