• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

Diff between IncludeAction & ForwardAction

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IncludeAction: 1.it include the specified URL into current JSP page,It is
just similar to <jsp:include page ="resource"> , & you can include one more no of resource into the current Jsp page.
2.All jsp include are contributed in dispaying view.
3. RequestDispatcher rd = request.getRequestDispatcher("path of jsp ");
rd.include(request , response);
internally it does this fuction

ForwardAction : 1.It is mechanism of forwarding the request to specified URL resources (i.e jsp page)
ex : 2.two.jsp page is included into one.jsp only two.jsp page contenet are contributed in dispaying a view.
3. RequestDispatcher rd = request.getRequestDispatcher("path of jsp ");
rd.forward(request , response);
internally it does this fuction

if you need example , than i will send for you my friend.

By Vinodkumar Beli from Gulbarga
 
We cannot change unless we survive, but we will not survive unless we change. Evolving tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic