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

jsp/servlets...usage in dynamic web content

 
sushant devata
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As JSP and Servlets have many features in common,
and both are used in serving dynamic web content.
My question is,when to opt which technology over the other???
If possible please suggest with one example???
 
Malhar Barai
Author
Ranch Hand
Posts: 399
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi sushant
this question has been replied many a times on this forum..still...
in short..use JSP's only for presentation, all the logic should be in the servlets.
dig a bit on this forum & you'll get comprehensive info on this topic else get back to me...
Result 1 & many more like this exist..
hth
MB
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic