SlideShare uma empresa Scribd logo
1 de 19
By:Pratik Vipul.
Pratik Vipul
 In JSP, special tags are used to embed
dynamic content generation code into a HTML
page.
Following types of tags are used in JSP:
1. Scriptlet Tag
2. Declaration Tag
3. Expression Tag
4. Directive Tag
5. Action Tag
Pratik Vipul
 All the statements which are placed within
scriptlets are moved to _ jspService() method
with Auto Generated Servlet at the time of
translation.
Syntax-
Pratik Vipul
Pratik Vipul
 Within a scriptlet following implicit objects
are made available to a JSP programmer:
* represents, is not available by default in all JSP pages.
Pratik Vipul
 This tag is used to define data members &
methods in the Auto Generated Servlet.
Syntax-
<%!
datamember
&
method definition
%>
Pratik Vipul
Pratik Vipul
 This tag is used to write a String or String
returning expression to the Output Stream. In
other words, this tag provides a shorthand
mechanism of writing strings or String
returning expressions to output stream.
Example-
Pratik Vipul
$Pratik Vipul
 Directives Tags are used to provide
information to the JSP translator. This
information is used by the translator at the
time of creating Servlet from the JSP.
Pratik Vipul
 There are 3 types of directives in JSP:
1. page directive
2. include directive
3. taglib directive
Pratik Vipul
 This directive is used to provide information
such as base class for Auto Generated Servlet,
packages to be imported, content type to be
set, URL of error handler page etc.
Syntax-
<%@ page attribute=“value” %>
Pratik Vipul
Pratik Vipul
 This directive is used to include the contents
of a resource to the response of current JSP.
Syntax-
<%@ include file=”URL of Resource” %>
$Pratik Vipul
 taglib directive is used to specify the location of a
TLD (Tag Library Descriptor) file that defines many
tags.
Syntax-
<%@ taglib uri=“uniqueIdentifier/path of tld file” prefix=“prefixOfTagLibrary” %>
Example-
<%@ taglib uri=“http://www.rupendra.co.cc/tags” prefix=“mytag” %>
Note:
We will use this tag in custom tag section so it will
be better to learn it in custom tag.
Pratik Vipul
 This tag is used to generate code within
_jspService() method for performing some
action such as creating an object, setting its
properties, including the contents of the
resource, forwarding the request to another
resource, etc.
 The action tags basically are used to control
the flow between pages and to use java
beans.
Pratik Vipul
1. <jsp:forward>
2. <jsp:include>
3. <jsp:useBean>
4. <jsp:setProperty>
5. <jsp:getProperty>
6. <jsp:param>
7. etc.
Pratik Vipul
 The <jsp:forward> action tag is used to
forward the request to another resource it
may be jsp, html or another resource.
$Pratik Vipul
 The <jsp:include> action tag is used to include
the content of another resource it may be jsp,
HTML or Servlet.
Advantage of <jsp:include> action tag:
1. Code reusability
$Pratik Vipul

Mais conteúdo relacionado

Mais procurados (20)

Jsp & struts
Jsp & strutsJsp & struts
Jsp & struts
 
Jsp 01
Jsp 01Jsp 01
Jsp 01
 
Implicit objects advance Java
Implicit objects advance JavaImplicit objects advance Java
Implicit objects advance Java
 
Jsp Presentation +Mufix "3"
Jsp Presentation +Mufix "3"Jsp Presentation +Mufix "3"
Jsp Presentation +Mufix "3"
 
Jsp
JspJsp
Jsp
 
Implicit object.pptx
Implicit object.pptxImplicit object.pptx
Implicit object.pptx
 
Jsp
JspJsp
Jsp
 
Jsp
JspJsp
Jsp
 
Jsp advance part i
Jsp advance part iJsp advance part i
Jsp advance part i
 
JSP Scope variable And Data Sharing
JSP Scope variable And Data SharingJSP Scope variable And Data Sharing
JSP Scope variable And Data Sharing
 
Jsp intro
Jsp introJsp intro
Jsp intro
 
Implementing jsp tag extensions
Implementing jsp tag extensionsImplementing jsp tag extensions
Implementing jsp tag extensions
 
Jsp1
Jsp1Jsp1
Jsp1
 
Unified Expression Language
Unified Expression LanguageUnified Expression Language
Unified Expression Language
 
JavaScript with Syntax & Implementation
JavaScript with Syntax & ImplementationJavaScript with Syntax & Implementation
JavaScript with Syntax & Implementation
 
Spatial approximate string search Doc
Spatial approximate string search DocSpatial approximate string search Doc
Spatial approximate string search Doc
 
JSP diana y yo
JSP diana y yoJSP diana y yo
JSP diana y yo
 
Jsp
JspJsp
Jsp
 
Java Server Pages(jsp)
Java Server Pages(jsp)Java Server Pages(jsp)
Java Server Pages(jsp)
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
 

Destaque

Government's Support on BBK FTZ (final)
Government's Support on BBK FTZ (final)Government's Support on BBK FTZ (final)
Government's Support on BBK FTZ (final)Ameer Noor
 
Equipo 58 - Tarea 10
Equipo 58 - Tarea 10Equipo 58 - Tarea 10
Equipo 58 - Tarea 10Stefany Olmos
 
이솔 포트폴리오
이솔 포트폴리오이솔 포트폴리오
이솔 포트폴리오Sol Lee
 
Teks pengacara majlis persaraan
Teks pengacara majlis persaraanTeks pengacara majlis persaraan
Teks pengacara majlis persaraannorzainiza buyong
 
Makalah segmen operasi psak 5
Makalah segmen operasi psak 5Makalah segmen operasi psak 5
Makalah segmen operasi psak 5Diah Fitri
 
Proposal Sistem Pelaksanaan Kas masuk dan keluar
Proposal Sistem Pelaksanaan Kas masuk dan keluarProposal Sistem Pelaksanaan Kas masuk dan keluar
Proposal Sistem Pelaksanaan Kas masuk dan keluarDiah Fitri
 
Psak 109-akuntansi-zakat-dan-infaq-atau-sedekah
Psak 109-akuntansi-zakat-dan-infaq-atau-sedekahPsak 109-akuntansi-zakat-dan-infaq-atau-sedekah
Psak 109-akuntansi-zakat-dan-infaq-atau-sedekahDiah Fitri
 

Destaque (10)

Government's Support on BBK FTZ (final)
Government's Support on BBK FTZ (final)Government's Support on BBK FTZ (final)
Government's Support on BBK FTZ (final)
 
Equipo 58 - Tarea 10
Equipo 58 - Tarea 10Equipo 58 - Tarea 10
Equipo 58 - Tarea 10
 
master-thesis
master-thesismaster-thesis
master-thesis
 
이솔 포트폴리오
이솔 포트폴리오이솔 포트폴리오
이솔 포트폴리오
 
Teks pengacara majlis persaraan
Teks pengacara majlis persaraanTeks pengacara majlis persaraan
Teks pengacara majlis persaraan
 
Frontpageprocess
FrontpageprocessFrontpageprocess
Frontpageprocess
 
Question 1
Question 1Question 1
Question 1
 
Makalah segmen operasi psak 5
Makalah segmen operasi psak 5Makalah segmen operasi psak 5
Makalah segmen operasi psak 5
 
Proposal Sistem Pelaksanaan Kas masuk dan keluar
Proposal Sistem Pelaksanaan Kas masuk dan keluarProposal Sistem Pelaksanaan Kas masuk dan keluar
Proposal Sistem Pelaksanaan Kas masuk dan keluar
 
Psak 109-akuntansi-zakat-dan-infaq-atau-sedekah
Psak 109-akuntansi-zakat-dan-infaq-atau-sedekahPsak 109-akuntansi-zakat-dan-infaq-atau-sedekah
Psak 109-akuntansi-zakat-dan-infaq-atau-sedekah
 

Semelhante a JSP

Semelhante a JSP (20)

Introduction to JSP.pptx
Introduction to JSP.pptxIntroduction to JSP.pptx
Introduction to JSP.pptx
 
JSP.pptx
JSP.pptxJSP.pptx
JSP.pptx
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
 
JSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGESJSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGES
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
 
Introduction to JSP
Introduction to JSPIntroduction to JSP
Introduction to JSP
 
Jsp 02(jsp directives)2003
Jsp 02(jsp directives)2003Jsp 02(jsp directives)2003
Jsp 02(jsp directives)2003
 
Transformation of Java Server Pages: A Modern Approach
Transformation of Java Server Pages: A Modern ApproachTransformation of Java Server Pages: A Modern Approach
Transformation of Java Server Pages: A Modern Approach
 
Jsp in Servlet by Rj
Jsp in Servlet by RjJsp in Servlet by Rj
Jsp in Servlet by Rj
 
JSP AND XML USING JAVA WITH GET AND POST METHODS
JSP AND XML USING JAVA WITH GET AND POST METHODSJSP AND XML USING JAVA WITH GET AND POST METHODS
JSP AND XML USING JAVA WITH GET AND POST METHODS
 
SCWCD : Java server pages CHAP : 9
SCWCD : Java server pages  CHAP : 9SCWCD : Java server pages  CHAP : 9
SCWCD : Java server pages CHAP : 9
 
Jsp Introduction Tutorial
Jsp Introduction TutorialJsp Introduction Tutorial
Jsp Introduction Tutorial
 
JSP
JSPJSP
JSP
 
Jsp sasidhar
Jsp sasidharJsp sasidhar
Jsp sasidhar
 
Internet and Web Technology (CLASS-14) [JSP] | NIC/NIELIT Web Technology
Internet and Web Technology (CLASS-14) [JSP] | NIC/NIELIT Web Technology Internet and Web Technology (CLASS-14) [JSP] | NIC/NIELIT Web Technology
Internet and Web Technology (CLASS-14) [JSP] | NIC/NIELIT Web Technology
 
Java serverpages
Java serverpagesJava serverpages
Java serverpages
 
Jsp
JspJsp
Jsp
 
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...
Web Component Development Using Servlet & JSP Technologies (EE6) - Chapter 7 ...
 
J2EE jsp_01
J2EE jsp_01J2EE jsp_01
J2EE jsp_01
 
Jsp session 9
Jsp   session 9Jsp   session 9
Jsp session 9
 

Mais de Pratik Vipul

AADHAR SECURE TRAVEL IDENETITY
AADHAR SECURE TRAVEL IDENETITYAADHAR SECURE TRAVEL IDENETITY
AADHAR SECURE TRAVEL IDENETITYPratik Vipul
 
trainee certificte
trainee certifictetrainee certificte
trainee certifictePratik Vipul
 
PRATIK_OFFER LETTER
PRATIK_OFFER LETTERPRATIK_OFFER LETTER
PRATIK_OFFER LETTERPratik Vipul
 
PROJECT Report(IMS)-Final-ColorPrint
PROJECT Report(IMS)-Final-ColorPrintPROJECT Report(IMS)-Final-ColorPrint
PROJECT Report(IMS)-Final-ColorPrintPratik Vipul
 
Issue Management System
Issue Management SystemIssue Management System
Issue Management SystemPratik Vipul
 
Hardware and Software
Hardware and SoftwareHardware and Software
Hardware and SoftwarePratik Vipul
 

Mais de Pratik Vipul (8)

Home Automation
Home AutomationHome Automation
Home Automation
 
AADHAR SECURE TRAVEL IDENETITY
AADHAR SECURE TRAVEL IDENETITYAADHAR SECURE TRAVEL IDENETITY
AADHAR SECURE TRAVEL IDENETITY
 
trainee certificte
trainee certifictetrainee certificte
trainee certificte
 
PRATIK_OFFER LETTER
PRATIK_OFFER LETTERPRATIK_OFFER LETTER
PRATIK_OFFER LETTER
 
PROJECT Report(IMS)-Final-ColorPrint
PROJECT Report(IMS)-Final-ColorPrintPROJECT Report(IMS)-Final-ColorPrint
PROJECT Report(IMS)-Final-ColorPrint
 
Issue Management System
Issue Management SystemIssue Management System
Issue Management System
 
Hardware and Software
Hardware and SoftwareHardware and Software
Hardware and Software
 
Lab 8
Lab 8Lab 8
Lab 8
 

Último

Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxNadaHaitham1
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxmaisarahman1
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxMuhammadAsimMuhammad6
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadhamedmustafa094
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdfAldoGarca30
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwaitjaanualu31
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdfKamal Acharya
 

Último (20)

Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 
Wadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptxWadi Rum luxhotel lodge Analysis case study.pptx
Wadi Rum luxhotel lodge Analysis case study.pptx
 
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptxA CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptxOrlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
Orlando’s Arnold Palmer Hospital Layout Strategy-1.pptx
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
kiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal loadkiln thermal load.pptx kiln tgermal load
kiln thermal load.pptx kiln tgermal load
 
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
1_Introduction + EAM Vocabulary + how to navigate in EAM.pdf
 
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills KuwaitKuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
Kuwait City MTP kit ((+919101817206)) Buy Abortion Pills Kuwait
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 

JSP

  • 2.  In JSP, special tags are used to embed dynamic content generation code into a HTML page. Following types of tags are used in JSP: 1. Scriptlet Tag 2. Declaration Tag 3. Expression Tag 4. Directive Tag 5. Action Tag Pratik Vipul
  • 3.  All the statements which are placed within scriptlets are moved to _ jspService() method with Auto Generated Servlet at the time of translation. Syntax- Pratik Vipul
  • 5.  Within a scriptlet following implicit objects are made available to a JSP programmer: * represents, is not available by default in all JSP pages. Pratik Vipul
  • 6.  This tag is used to define data members & methods in the Auto Generated Servlet. Syntax- <%! datamember & method definition %> Pratik Vipul
  • 8.  This tag is used to write a String or String returning expression to the Output Stream. In other words, this tag provides a shorthand mechanism of writing strings or String returning expressions to output stream. Example- Pratik Vipul
  • 10.  Directives Tags are used to provide information to the JSP translator. This information is used by the translator at the time of creating Servlet from the JSP. Pratik Vipul
  • 11.  There are 3 types of directives in JSP: 1. page directive 2. include directive 3. taglib directive Pratik Vipul
  • 12.  This directive is used to provide information such as base class for Auto Generated Servlet, packages to be imported, content type to be set, URL of error handler page etc. Syntax- <%@ page attribute=“value” %> Pratik Vipul
  • 14.  This directive is used to include the contents of a resource to the response of current JSP. Syntax- <%@ include file=”URL of Resource” %> $Pratik Vipul
  • 15.  taglib directive is used to specify the location of a TLD (Tag Library Descriptor) file that defines many tags. Syntax- <%@ taglib uri=“uniqueIdentifier/path of tld file” prefix=“prefixOfTagLibrary” %> Example- <%@ taglib uri=“http://www.rupendra.co.cc/tags” prefix=“mytag” %> Note: We will use this tag in custom tag section so it will be better to learn it in custom tag. Pratik Vipul
  • 16.  This tag is used to generate code within _jspService() method for performing some action such as creating an object, setting its properties, including the contents of the resource, forwarding the request to another resource, etc.  The action tags basically are used to control the flow between pages and to use java beans. Pratik Vipul
  • 17. 1. <jsp:forward> 2. <jsp:include> 3. <jsp:useBean> 4. <jsp:setProperty> 5. <jsp:getProperty> 6. <jsp:param> 7. etc. Pratik Vipul
  • 18.  The <jsp:forward> action tag is used to forward the request to another resource it may be jsp, html or another resource. $Pratik Vipul
  • 19.  The <jsp:include> action tag is used to include the content of another resource it may be jsp, HTML or Servlet. Advantage of <jsp:include> action tag: 1. Code reusability $Pratik Vipul