• 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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!