SlideShare a Scribd company logo
Post and get methods
Disclaimer: This presentation is prepared by trainees of
baabtra as a part of mentoring program. This is not official
document of baabtra –Mentoring Partner
Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt .
Ltd
Typing Speed
Week

Target Achieved

1

40

23

2

40

27

3

40

28
Jobs Applied
Week

Company

1
2
3

Designation

Applied Date

Current Status

Intel info group System Engineer

16-9-2013

Short listed

Alcatel-lucent

10-9-2013

Waiting

Software Engineer
Muhammed Noufal V T
muhammednoufalvt@gmail.c
om
www.facebook.com/vtnoufa
lvt
twitter.com/noufalurnappy
in.linkedin.com/pub/muham
med-noufal
9744003056
Request-Response Cycle
request

Web
Browser

URL
HTML, images, files
response

Web
Server

• When enter an address (URL) into
the address bar of a web browser or
click on a link, we generate a
request for a file
• The request is routed to a Web
server, which sends back a
Get Method
• Send parameters in the URL
http://localhost:8081/fstpro/sec.jsp?na
me=sonia

• sec.jsp
<%session.setAttribute("name",request.getP
arameter("name"));
session.setAttribute("age",request.getParam
eter("age"));
session.setAttribute("sex",request.getParam
eter("sex"));%>
Post and get methods
HTML Forms
• Send parameters via forms
<FORM ACTION="printname.jsp" METHOD="get">
<INPUT TYPE="text" NAME="firstname" SIZE=40>
<INPUT TYPE="submit" value="Print Name">
</FORM>

• Access these with the request object
<%
String name = request.getParameter("firstname");
...
%>
Post Method
• Post attaches parameter values to request
• A POST on the other hand will (typically)
send the information through a socket
back to the webserver and it won't show
up in the URL bar.
• You can send much more information to
the server this way - and it's not restricted
to textual data either.
Post and get methods
Post and get methods
Post and get methods
Post and get methods
Post and get methods
Post and get methods
Get & Post
• Get puts parameters and values in the URL
page.jsp?param1=value1&param2=value2&...
– Send with a link or in a form with method="get"
• Post attaches parameters to request
– Send in a form with method="post“

GET

POST

• Parameters
encoded in URL
request
• data limit URL length no limit
• Bookmarks
yes
no

attached to
Contact Us
Emarald Mall (Big Bazar Building)
Mavoor Road, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550

Start up Village
Eranakulam,
Kerala, India.
Email: info@baabtra.com

NC Complex, Near Bus Stand
Mukkam, Kozhikode,
Kerala, India.
Ph: + 91 – 495 40 25 550

More Related Content

PPTX
Web Based Microfinance software
PDF
salman-yaqoob update CV
DOCX
Android Developer
DOC
PROSENJIT SAHA
PPTX
Baabtra.com little coder chapter - 7

Similar to Post and get methods (20)

PPTX
PPTX
List manipulation in java (add,delete,view,modify)
DOCX
Resume for Wintel Admin- Naveen Gupta
DOCX
IT Application Support Analyst Job Spec
PDF
Hitesh Summan _CV_New
PDF
mahesh-410
PPT
chapter_3.ppt_ E-business infrastructure
PPT
chapter_3.ppt
PPTX
Getting your enterprise ready for Microsoft 365 Copilot
PPT
Presentation tritan erp service
DOC
Sai Krishna_Resume
PDF
Singapore MuleSoft Meetup - 23 Nov 2022
PPTX
Mayur_Soni_Internship for python for free
PDF
Best MS Sharepoint 2013 Admin Training in Bangalore
PDF
Best TCC Scripting training in Bangalore From myTectra
List manipulation in java (add,delete,view,modify)
Resume for Wintel Admin- Naveen Gupta
IT Application Support Analyst Job Spec
Hitesh Summan _CV_New
mahesh-410
chapter_3.ppt_ E-business infrastructure
chapter_3.ppt
Getting your enterprise ready for Microsoft 365 Copilot
Presentation tritan erp service
Sai Krishna_Resume
Singapore MuleSoft Meetup - 23 Nov 2022
Mayur_Soni_Internship for python for free
Best MS Sharepoint 2013 Admin Training in Bangalore
Best TCC Scripting training in Bangalore From myTectra
Ad

More from baabtra.com - No. 1 supplier of quality freshers (20)

PPTX
Agile methodology and scrum development
PDF
Acquiring new skills what you should know
PDF
Baabtra.com programming at school
PDF
99LMS for Enterprises - LMS that you will love
PPTX
Chapter 6 database normalisation
PPTX
Chapter 5 transactions and dcl statements
PPTX
Chapter 4 functions, views, indexing
PPTX
PPTX
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
PPTX
Chapter 1 introduction to sql server
PPTX
Chapter 1 introduction to sql server
Agile methodology and scrum development
Acquiring new skills what you should know
Baabtra.com programming at school
99LMS for Enterprises - LMS that you will love
Chapter 6 database normalisation
Chapter 5 transactions and dcl statements
Chapter 4 functions, views, indexing
Chapter 2 grouping,scalar and aggergate functions,joins inner join,outer join
Chapter 1 introduction to sql server
Chapter 1 introduction to sql server
Ad

Recently uploaded (20)

PDF
Classroom Observation Tools for Teachers
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Lesson notes of climatology university.
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Complications of Minimal Access Surgery at WLH
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Classroom Observation Tools for Teachers
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Lesson notes of climatology university.
FourierSeries-QuestionsWithAnswers(Part-A).pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Module 4: Burden of Disease Tutorial Slides S2 2025
VCE English Exam - Section C Student Revision Booklet
human mycosis Human fungal infections are called human mycosis..pptx
102 student loan defaulters named and shamed – Is someone you know on the list?
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
Abdominal Access Techniques with Prof. Dr. R K Mishra
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Complications of Minimal Access Surgery at WLH
Supply Chain Operations Speaking Notes -ICLT Program
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
O7-L3 Supply Chain Operations - ICLT Program
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE

Post and get methods

  • 2. Disclaimer: This presentation is prepared by trainees of baabtra as a part of mentoring program. This is not official document of baabtra –Mentoring Partner Baabtra-Mentoring Partner is the mentoring division of baabte System Technologies Pvt . Ltd
  • 4. Jobs Applied Week Company 1 2 3 Designation Applied Date Current Status Intel info group System Engineer 16-9-2013 Short listed Alcatel-lucent 10-9-2013 Waiting Software Engineer
  • 5. Muhammed Noufal V T muhammednoufalvt@gmail.c om www.facebook.com/vtnoufa lvt twitter.com/noufalurnappy in.linkedin.com/pub/muham med-noufal 9744003056
  • 6. Request-Response Cycle request Web Browser URL HTML, images, files response Web Server • When enter an address (URL) into the address bar of a web browser or click on a link, we generate a request for a file • The request is routed to a Web server, which sends back a
  • 7. Get Method • Send parameters in the URL http://localhost:8081/fstpro/sec.jsp?na me=sonia • sec.jsp <%session.setAttribute("name",request.getP arameter("name")); session.setAttribute("age",request.getParam eter("age")); session.setAttribute("sex",request.getParam eter("sex"));%>
  • 9. HTML Forms • Send parameters via forms <FORM ACTION="printname.jsp" METHOD="get"> <INPUT TYPE="text" NAME="firstname" SIZE=40> <INPUT TYPE="submit" value="Print Name"> </FORM> • Access these with the request object <% String name = request.getParameter("firstname"); ... %>
  • 10. Post Method • Post attaches parameter values to request • A POST on the other hand will (typically) send the information through a socket back to the webserver and it won't show up in the URL bar. • You can send much more information to the server this way - and it's not restricted to textual data either.
  • 17. Get & Post • Get puts parameters and values in the URL page.jsp?param1=value1&param2=value2&... – Send with a link or in a form with method="get" • Post attaches parameters to request – Send in a form with method="post“ GET POST • Parameters encoded in URL request • data limit URL length no limit • Bookmarks yes no attached to
  • 18. Contact Us Emarald Mall (Big Bazar Building) Mavoor Road, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550 Start up Village Eranakulam, Kerala, India. Email: info@baabtra.com NC Complex, Near Bus Stand Mukkam, Kozhikode, Kerala, India. Ph: + 91 – 495 40 25 550