Now select File > New > Servlet and use below image to create our first servlet. Let’s see parts of the URL with an example. Every resource on the web has its own unique address. URL is the acronym of Universal Resource Locator and it’s used to locate the server and resource. Some of the most used mime types are text/html, text/xml, application/xml etc. It helps the client in rendering the data for the user. It’s also called MIME type and server sends it to the client to let them know the kind of data it’s sending. MIME Type or Content Type: If you see above sample HTTP response header, it contains tag “Content-Type”.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |