SlideShare a Scribd company logo
NADAR SARASWATHI COLLEGE OF
ARTS AND SCIENCE. THENI
DEPARTMENT OF COMPUTER SCIENCE
JSP ENGINES
WORKING OF JSP
by,
P.Anusuya l-Msc(CS)
JSP ENGINES
Introduction Of JSP:
JSP- Java Servlet Pages
The Java Servlet Pages is a technology for
developing webpages That supports dynamic content.
JSP ENGINES:
• The webserver needs a jsp engine.
• A container to process jsp pages.The jsp container is
responsible for intercepting requests for jspb pages. This is
makes Use of apache which has built in jsp container to
support jsp pages development.
• A jsp container works with the webserver to provide the
runtime environment and other services a jsp needs.
JSP PROCESSING:
1.As with a normal page,your browser sends an HTTP request to the
webserver.
2.The webserver recognizes that the HTTP request is for a jsp page and
forwards it to a JSP engine.This is done by using the URL or JSP page which
ends with .jsp instead of .html
3.The jsp engine Loads the jsp page from disk and converts it into a servlet
content.This conversion is very simple in which all template text is converted to
println()statement and all jsp elements are converted to java code. This code
implements the corresponding dynamic behaviour of the page.
4. The jsp engines compiles the servlet into an executable class and forwards
the original request to a servlet engine.
5.A part of the webserver called the servlet engine loads the servlet class and
executes it.During execution, the servlet produces an output in html
format.The output is further passed o to the webserver by the servlet engine
inside an http response.
6.The webserver forwards the HTTP response to your browser in Terms Of
static HTML content.
7.Finally,The webrowser handles the dynamically generated html page inside
the http response exactly as if it were a static page.
Advantages Of JSP:
Active server pages(ASP):
The advantage of jsp are twofold.
1.The dynamic part is written in java, not visuval basic or other ms specific
language,so it,is more powerful & easier to use.
2.it’s portable to other operating system & non Microsoft webserver.
Pure Servlet:
It’s More convenient to write regular,html than to have plenty of println
statement that generate the HTML.
THANK YOU

More Related Content

Similar to Java JSP.pptx

Unit 4 1 web technology uptu
Unit 4 1 web technology uptuUnit 4 1 web technology uptu
Unit 4 1 web technology uptu
Abhishek Kesharwani
 
Unit 4 web technology uptu
Unit 4 web technology uptuUnit 4 web technology uptu
Unit 4 web technology uptu
Abhishek Kesharwani
 
JAVA SERVER PAGE
JAVA SERVER PAGEJAVA SERVER PAGE
JAVA SERVER PAGE
Sameenafathima4
 
Csajsp Chapter10
Csajsp Chapter10Csajsp Chapter10
Csajsp Chapter10Adil Jafri
 
Jsp in Servlet by Rj
Jsp in Servlet by RjJsp in Servlet by Rj
Jsp basic
Jsp basicJsp basic
Jsp basic
Jaya Kumari
 
Client server 01
Client server 01Client server 01
Client server 01
Lockey Irawan
 
Jsp abes new
Jsp abes newJsp abes new
Jsp abes new
Ashwin Perti
 
JSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGESJSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGES
Yoga Raja
 
Introduction to the Servlet / JSP course
Introduction to the Servlet / JSP course Introduction to the Servlet / JSP course
Introduction to the Servlet / JSP course
JavaEE Trainers
 
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
 
Csajsp Chapter15
Csajsp Chapter15Csajsp Chapter15
Csajsp Chapter15Adil Jafri
 
JEE Course - The Web Tier
JEE Course - The Web TierJEE Course - The Web Tier
JEE Course - The Web Tier
odedns
 
Jsp viva questions
Jsp viva questionsJsp viva questions
Jsp viva questions
Vipul Naik
 
Servlets and jsp pages best practices
Servlets and jsp pages best practicesServlets and jsp pages best practices
Servlets and jsp pages best practicesejjavies
 
Jsp
JspJsp
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
ADEEBANADEEM
 

Similar to Java JSP.pptx (20)

Unit 4 1 web technology uptu
Unit 4 1 web technology uptuUnit 4 1 web technology uptu
Unit 4 1 web technology uptu
 
Unit 4 web technology uptu
Unit 4 web technology uptuUnit 4 web technology uptu
Unit 4 web technology uptu
 
JAVA SERVER PAGE
JAVA SERVER PAGEJAVA SERVER PAGE
JAVA SERVER PAGE
 
Csajsp Chapter10
Csajsp Chapter10Csajsp Chapter10
Csajsp Chapter10
 
Jsp in Servlet by Rj
Jsp in Servlet by RjJsp in Servlet by Rj
Jsp in Servlet by Rj
 
Jsp basic
Jsp basicJsp basic
Jsp basic
 
Client server 01
Client server 01Client server 01
Client server 01
 
Jsp abes new
Jsp abes newJsp abes new
Jsp abes new
 
JSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGESJSP- JAVA SERVER PAGES
JSP- JAVA SERVER PAGES
 
Introduction to the Servlet / JSP course
Introduction to the Servlet / JSP course Introduction to the Servlet / JSP course
Introduction to the Servlet / JSP course
 
Jsp tutorial
Jsp tutorialJsp tutorial
Jsp tutorial
 
Spatial approximate string search Doc
Spatial approximate string search DocSpatial approximate string search Doc
Spatial approximate string search Doc
 
Csajsp Chapter15
Csajsp Chapter15Csajsp Chapter15
Csajsp Chapter15
 
JEE Course - The Web Tier
JEE Course - The Web TierJEE Course - The Web Tier
JEE Course - The Web Tier
 
Jsp viva questions
Jsp viva questionsJsp viva questions
Jsp viva questions
 
Servlets and jsp pages best practices
Servlets and jsp pages best practicesServlets and jsp pages best practices
Servlets and jsp pages best practices
 
Jsp
JspJsp
Jsp
 
Jsp
JspJsp
Jsp
 
Ppt for Online music store
Ppt for Online music storePpt for Online music store
Ppt for Online music store
 
Jsp Tutorial
Jsp TutorialJsp Tutorial
Jsp Tutorial
 

More from rithika858339

data mining and Whorehousing.pptx
data mining and Whorehousing.pptxdata mining and Whorehousing.pptx
data mining and Whorehousing.pptx
rithika858339
 
distribute computing.pptx
distribute computing.pptxdistribute computing.pptx
distribute computing.pptx
rithika858339
 
clustering.pptx
clustering.pptxclustering.pptx
clustering.pptx
rithika858339
 
fault tolerance1.pptx
fault tolerance1.pptxfault tolerance1.pptx
fault tolerance1.pptx
rithika858339
 
python.pptx
python.pptxpython.pptx
python.pptx
rithika858339
 
artificial intelligence.pptx
artificial intelligence.pptxartificial intelligence.pptx
artificial intelligence.pptx
rithika858339
 
artificial intelligence.pptx
artificial intelligence.pptxartificial intelligence.pptx
artificial intelligence.pptx
rithika858339
 
python.pptx
python.pptxpython.pptx
python.pptx
rithika858339
 
Network information security
Network information securityNetwork information security
Network information security
rithika858339
 
ACA
ACAACA
DSA
DSADSA
CD
CDCD
Advance computer architecture
Advance computer architectureAdvance computer architecture
Advance computer architecture
rithika858339
 
Data structure and algorithm
Data structure and algorithmData structure and algorithm
Data structure and algorithm
rithika858339
 
Network and information security
Network and information securityNetwork and information security
Network and information security
rithika858339
 
Network and information security
Network and information securityNetwork and information security
Network and information security
rithika858339
 
Network and information security
Network and information securityNetwork and information security
Network and information security
rithika858339
 
General method in backtracking
General method in backtrackingGeneral method in backtracking
General method in backtracking
rithika858339
 
Presentation (1).pptx
Presentation (1).pptxPresentation (1).pptx
Presentation (1).pptx
rithika858339
 

More from rithika858339 (20)

data mining and Whorehousing.pptx
data mining and Whorehousing.pptxdata mining and Whorehousing.pptx
data mining and Whorehousing.pptx
 
distribute computing.pptx
distribute computing.pptxdistribute computing.pptx
distribute computing.pptx
 
clustering.pptx
clustering.pptxclustering.pptx
clustering.pptx
 
fault tolerance1.pptx
fault tolerance1.pptxfault tolerance1.pptx
fault tolerance1.pptx
 
python.pptx
python.pptxpython.pptx
python.pptx
 
artificial intelligence.pptx
artificial intelligence.pptxartificial intelligence.pptx
artificial intelligence.pptx
 
artificial intelligence.pptx
artificial intelligence.pptxartificial intelligence.pptx
artificial intelligence.pptx
 
python.pptx
python.pptxpython.pptx
python.pptx
 
Network information security
Network information securityNetwork information security
Network information security
 
ACA
ACAACA
ACA
 
DSA
DSADSA
DSA
 
CD-1.pptx
CD-1.pptxCD-1.pptx
CD-1.pptx
 
CD
CDCD
CD
 
Advance computer architecture
Advance computer architectureAdvance computer architecture
Advance computer architecture
 
Data structure and algorithm
Data structure and algorithmData structure and algorithm
Data structure and algorithm
 
Network and information security
Network and information securityNetwork and information security
Network and information security
 
Network and information security
Network and information securityNetwork and information security
Network and information security
 
Network and information security
Network and information securityNetwork and information security
Network and information security
 
General method in backtracking
General method in backtrackingGeneral method in backtracking
General method in backtracking
 
Presentation (1).pptx
Presentation (1).pptxPresentation (1).pptx
Presentation (1).pptx
 

Recently uploaded

Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Globus
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
Google
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Yara Milbes
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
Shane Coughlan
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Neo4j
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 

Recently uploaded (20)

Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI AppAI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
AI Fusion Buddy Review: Brand New, Groundbreaking Gemini-Powered AI App
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi ArabiaTop 7 Unique WhatsApp API Benefits | Saudi Arabia
Top 7 Unique WhatsApp API Benefits | Saudi Arabia
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
openEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain SecurityopenEuler Case Study - The Journey to Supply Chain Security
openEuler Case Study - The Journey to Supply Chain Security
 
Atelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissancesAtelier - Innover avec l’IA Générative et les graphes de connaissances
Atelier - Innover avec l’IA Générative et les graphes de connaissances
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 

Java JSP.pptx

  • 1. NADAR SARASWATHI COLLEGE OF ARTS AND SCIENCE. THENI DEPARTMENT OF COMPUTER SCIENCE JSP ENGINES WORKING OF JSP by, P.Anusuya l-Msc(CS)
  • 3. Introduction Of JSP: JSP- Java Servlet Pages The Java Servlet Pages is a technology for developing webpages That supports dynamic content.
  • 4. JSP ENGINES: • The webserver needs a jsp engine. • A container to process jsp pages.The jsp container is responsible for intercepting requests for jspb pages. This is makes Use of apache which has built in jsp container to support jsp pages development. • A jsp container works with the webserver to provide the runtime environment and other services a jsp needs.
  • 5.
  • 6. JSP PROCESSING: 1.As with a normal page,your browser sends an HTTP request to the webserver. 2.The webserver recognizes that the HTTP request is for a jsp page and forwards it to a JSP engine.This is done by using the URL or JSP page which ends with .jsp instead of .html 3.The jsp engine Loads the jsp page from disk and converts it into a servlet content.This conversion is very simple in which all template text is converted to println()statement and all jsp elements are converted to java code. This code implements the corresponding dynamic behaviour of the page.
  • 7. 4. The jsp engines compiles the servlet into an executable class and forwards the original request to a servlet engine. 5.A part of the webserver called the servlet engine loads the servlet class and executes it.During execution, the servlet produces an output in html format.The output is further passed o to the webserver by the servlet engine inside an http response. 6.The webserver forwards the HTTP response to your browser in Terms Of static HTML content. 7.Finally,The webrowser handles the dynamically generated html page inside the http response exactly as if it were a static page.
  • 8.
  • 9. Advantages Of JSP: Active server pages(ASP): The advantage of jsp are twofold. 1.The dynamic part is written in java, not visuval basic or other ms specific language,so it,is more powerful & easier to use. 2.it’s portable to other operating system & non Microsoft webserver. Pure Servlet: It’s More convenient to write regular,html than to have plenty of println statement that generate the HTML.