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"));%>
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.
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

Post and get methods

  • 2.
    Disclaimer: This presentationis 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
  • 3.
  • 4.
    Jobs Applied Week Company 1 2 3 Designation Applied Date CurrentStatus Intel info group System Engineer 16-9-2013 Short listed Alcatel-lucent 10-9-2013 Waiting Software Engineer
  • 5.
    Muhammed Noufal VT 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 • Sendparameters 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 • Sendparameters 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 • Postattaches 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