Jsp Include

Prev Tutorial Next Tutorial

Jsp Include

This action tag is used for including the response of one resource like a jsp or a servlet or a html into another jsp page. In jsp, we have two types of including,

  • include directive
  • include action

Main difference between include directive and include action

Include directive is for static including and include action is for dynamic including.

Internally a container uses RequestDispatcher's include method, for executing tag.

When use JSP Include Directive

We choose include directive when a destination is a static page like html and we choose include action, when a destination is a dynamic resource like a jsp or a servlet.

Prev Tutorial Next Tutorial

Google Advertisements
Download Projects

Google Adsense Advertisements

Buy 3 Year Old Domain, Tutorialday.com, SeosmoTools.com @$200

Buy This Ad Space @$50 per Month, Ad Size 300X250 Contact on: hitesh.xc@gmail.com WhatsApp no. 8882538826

Yahoo Advertisements