• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Question for frank carver ..........

 
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,,,
Can anyone tell me as to when do we have to use servlets and when do we use jsp.
one differnce is that in jsp we can separate the content programming from content presentation.
but i would like to know different circumstances under which we prefer jsp over servlets or vice versa
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The popular model seems MVC.
*Servlet - Mediator or Controller
*Jsp - View or Presentation Template
*Bean - Model or Data Handling, Business logic
For very very simple application, jsp is enough. For some kind of pattern or framework driven application, Consider MVC.
Paul
 
reply
    Bookmark Topic Watch Topic
  • New Topic