java4all@1986 java. Powered by Blogger.

Difference between Servlets and Jsp's?

>> Tuesday, May 31, 2011

Differences Between Servlets and Jsp:
  1.)If we want to design any application with respect to servlets we should require Java Knowledge.  To design any application with respect to Jsp ,it is not required to have Java knowledge with us.

  2.)Servlets are good at to pick up the request from client and process the request,where as jsp's are good at to generate dyanamic response to client machine.

  3.)In case of Servlets there is no clear separation between Presentation layer and business layer,where as in jsp's there is clear separation between  Presentation layer and business layer.

4.)If we modify anything in existed servlet we have to recompile and  reload the application.where as in jsp's we had modify anything in existed jsp's no need to recompile and reload it,Jsp's pages are automatically recompiled and reloaded.

5.)Servlet's are using Servlet container and jsp's are using jsp container.

6.)In Strut's Framework ,servlets act as controller where as jsp's for view part.

0 comments:

Post a Comment

FaceBook Login

HTML/JAVASCRIPT

HTML/JAVASCRIPT

HTML/JAVASCRIPT

HTML/JAVASCRIPT

Total Pageviews

STATCOUNTER

  © Blogger template Simple n' Sweet by Ourblogtemplates.com 2009

Back to TOP