• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

forward and include attributes??

 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guys,

What exactly are the uses of these forward and include attributes??
 
NDP Prasad
Ranch Hand
Posts: 177
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
forward:

In MVC we use to seperate the controller(servlets) with the view(jsp). so if we want to display our bussiness logic, forward to jsp is the best.

include:

May be for obtaining the title(imagine user need title in all pages) of viewpage according to the user action can be obtained including a seperate page. so that, you can seperate the title stuffs from the view part.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic