SlideShare a Scribd company logo
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

More Related Content

What's hot

Jsp & struts
Jsp & strutsJsp & struts
Jsp & struts
Hansi Thenuwara
 
Jsp 01
Jsp 01Jsp 01
Implicit objects advance Java
Implicit objects advance JavaImplicit objects advance Java
Implicit objects advance Java
Darshit Metaliya
 
Jsp Presentation +Mufix "3"
Jsp Presentation +Mufix "3"Jsp Presentation +Mufix "3"
Jsp Presentation +Mufix "3"
SiliconExpert Technologies
 
Jsp
JspJsp
Implicit object.pptx
Implicit object.pptxImplicit object.pptx
Implicit object.pptx
chakrapani tripathi
 
Jsp
JspJsp
Jsp
JspJsp
Jsp advance part i
Jsp advance part iJsp advance part i
Jsp advance part i
sameersaxena90
 
JSP Scope variable And Data Sharing
JSP Scope variable And Data SharingJSP Scope variable And Data Sharing
JSP Scope variable And Data Sharing
vikram singh
 
Jsp intro
Jsp introJsp intro
Jsp intro
husnara mohammad
 
Implementing jsp tag extensions
Implementing jsp tag extensionsImplementing jsp tag extensions
Implementing jsp tag extensions
Soujanya V
 
Jsp1
Jsp1Jsp1
Unified Expression Language
Unified Expression LanguageUnified Expression Language
Unified Expression Language
BG Java EE Course
 
JavaScript with Syntax & Implementation
JavaScript with Syntax & ImplementationJavaScript with Syntax & Implementation
JavaScript with Syntax & Implementation
Soumen Santra
 
Spatial approximate string search Doc
Spatial approximate string search DocSpatial approximate string search Doc
Spatial approximate string search Doc
Sudha Hari Tech Solution Pvt ltd
 
JSP diana y yo
JSP diana y yoJSP diana y yo
JSP diana y yo
michael
 
Jsp
JspJsp
Java Server Pages(jsp)
Java Server Pages(jsp)Java Server Pages(jsp)
Java Server Pages(jsp)
Manisha Keim
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
Eleonora Ciceri
 

What's hot (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
 

Viewers also liked

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 10
Stefany Olmos
 
master-thesis
master-thesismaster-thesis
master-thesis
Jasper Visser
 
이솔 포트폴리오
이솔 포트폴리오이솔 포트폴리오
이솔 포트폴리오
Sol Lee
 
Teks pengacara majlis persaraan
Teks pengacara majlis persaraanTeks pengacara majlis persaraan
Teks pengacara majlis persaraan
norzainiza buyong
 
Frontpageprocess
FrontpageprocessFrontpageprocess
Frontpageprocess
Sarah Louise
 
Question 1
Question 1Question 1
Question 1
Sarah Louise
 
Makalah segmen operasi psak 5
Makalah segmen operasi psak 5Makalah segmen operasi psak 5
Makalah segmen operasi psak 5
Diah 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 keluar
Diah 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-sedekah
Diah Fitri
 

Viewers also liked (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
 

Similar to JSP

Introduction to JSP.pptx
Introduction to JSP.pptxIntroduction to JSP.pptx
Introduction to JSP.pptx
ManishaPatil932723
 
JSP.pptx
JSP.pptxJSP.pptx
JSP.pptx
NishaRohit6
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
Shah Nawaz Bhurt
 
JSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGESJSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGES
Yoga Raja
 
Java Server Pages
Java Server PagesJava Server Pages
Java Server Pages
BG Java EE Course
 
Introduction to JSP
Introduction to JSPIntroduction to JSP
Introduction to JSP
Geethu Mohan
 
Jsp 02(jsp directives)2003
Jsp 02(jsp directives)2003Jsp 02(jsp directives)2003
Jsp 02(jsp directives)2003
Subhasis Nayak
 
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
IRJET Journal
 
Jsp in Servlet by Rj
Jsp in Servlet by RjJsp 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
bharathiv53
 
SCWCD : Java server pages CHAP : 9
SCWCD : Java server pages  CHAP : 9SCWCD : Java server pages  CHAP : 9
SCWCD : Java server pages CHAP : 9
Ben Abdallah Helmi
 
Jsp Introduction Tutorial
Jsp Introduction TutorialJsp Introduction Tutorial
Jsp Introduction Tutorial
APSMIND TECHNOLOGY PVT LTD.
 
JSP
JSPJSP
Jsp sasidhar
Jsp sasidharJsp sasidhar
Jsp sasidhar
Sasidhar Kothuru
 
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
Ayes Chinmay
 
Java serverpages
Java serverpagesJava serverpages
Java serverpages
Amit Kumar
 
Jsp
JspJsp
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 ...
WebStackAcademy
 
J2EE jsp_01
J2EE jsp_01J2EE jsp_01
J2EE jsp_01
Biswabrata Banerjee
 
Jsp session 9
Jsp   session 9Jsp   session 9
Jsp session 9
Anuj Singh Rajput
 

Similar to 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
 

More from Pratik Vipul

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

More from 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
 

Recently uploaded

309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
Sou Tibon
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
drshikhapandey2022
 
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Transcat
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
aryanpankaj78
 
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTERUNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
vmspraneeth
 
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
IJCNCJournal
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
upoux
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
felixwold
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
VANDANAMOHANGOUDA
 
comptia-security-sy0-701-exam-objectives-(5-0).pdf
comptia-security-sy0-701-exam-objectives-(5-0).pdfcomptia-security-sy0-701-exam-objectives-(5-0).pdf
comptia-security-sy0-701-exam-objectives-(5-0).pdf
foxlyon
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
Lubi Valves
 
FULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back EndFULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back End
PreethaV16
 
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdfSri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
Balvir Singh
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
snaprevwdev
 
Ericsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.pptEricsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.ppt
wafawafa52
 
Blood finder application project report (1).pdf
Blood finder application project report (1).pdfBlood finder application project report (1).pdf
Blood finder application project report (1).pdf
Kamal Acharya
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
ELS: 2.4.1 POWER ELECTRONICS Course objectives: This course will enable stude...
ELS: 2.4.1 POWER ELECTRONICS Course objectives: This course will enable stude...ELS: 2.4.1 POWER ELECTRONICS Course objectives: This course will enable stude...
ELS: 2.4.1 POWER ELECTRONICS Course objectives: This course will enable stude...
Kuvempu University
 

Recently uploaded (20)

309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
309475979-Creativity-Innovation-notes-IV-Sem-2016-pdf.pdf
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
 
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
Tools & Techniques for Commissioning and Maintaining PV Systems W-Animations ...
 
Digital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptxDigital Twins Computer Networking Paper Presentation.pptx
Digital Twins Computer Networking Paper Presentation.pptx
 
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTERUNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
 
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
Particle Swarm Optimization–Long Short-Term Memory based Channel Estimation w...
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
一比一原版(osu毕业证书)美国俄勒冈州立大学毕业证如何办理
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
 
ITSM Integration with MuleSoft.pptx
ITSM  Integration with MuleSoft.pptxITSM  Integration with MuleSoft.pptx
ITSM Integration with MuleSoft.pptx
 
comptia-security-sy0-701-exam-objectives-(5-0).pdf
comptia-security-sy0-701-exam-objectives-(5-0).pdfcomptia-security-sy0-701-exam-objectives-(5-0).pdf
comptia-security-sy0-701-exam-objectives-(5-0).pdf
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
 
FULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back EndFULL STACK PROGRAMMING - Both Front End and Back End
FULL STACK PROGRAMMING - Both Front End and Back End
 
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdfSri Guru Hargobind Ji - Bandi Chor Guru.pdf
Sri Guru Hargobind Ji - Bandi Chor Guru.pdf
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
 
Ericsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.pptEricsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.ppt
 
Blood finder application project report (1).pdf
Blood finder application project report (1).pdfBlood finder application project report (1).pdf
Blood finder application project report (1).pdf
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
ELS: 2.4.1 POWER ELECTRONICS Course objectives: This course will enable stude...
ELS: 2.4.1 POWER ELECTRONICS Course objectives: This course will enable stude...ELS: 2.4.1 POWER ELECTRONICS Course objectives: This course will enable stude...
ELS: 2.4.1 POWER ELECTRONICS Course objectives: This course will enable stude...
 

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