Saturday, May 2, 2015

HTTP Request

Some of the important parts of HTTP Request are:
• HTTP Method – action to be performed, usually GET, POST, PUT etc.
• URL – Page to access
• Form Parameters – similar to arguments in a java method, for example user, password details
from login page.

A sample HTTP Request is shown below:
GET /FirstServletProject/jsps/hello.jsp HTTP/1.1
Host: localhost:8080
Cache-Control: no-cache



No comments:

Post a Comment

Contact Form

Name

Email *

Message *