FirstRanker Logo

FirstRanker.com - FirstRanker's Choice is a hub of Question Papers & Study Materials for B-Tech, B.E, M-Tech, MCA, M.Sc, MBBS, BDS, MBA, B.Sc, Degree, B.Sc Nursing, B-Pharmacy, D-Pharmacy, MD, Medical, Dental, Engineering students. All services of FirstRanker.com are FREE

📱

Get the MBBS Question Bank Android App

Access previous years' papers, solved question papers, notes, and more on the go!

Install From Play Store

Download Anna University B-Tech CSE 5th Sem CS6512 Internet Programming IP Lab Manual Question Paper

Download Anna University B.Tech (Bachelor of Technology) CSE (Computer Science And Engineering) 5th Sem CS6512 Internet Programming IP Lab Manual Question Paper.

This post was last modified on 13 December 2019

Anna University B.Tech Lab Manual


www.FirstRanker.com www.FirstRanker.com


DEPARTMENT OF
COMPUTER SCIENCE AND ENGINEERING

--- Content provided by⁠ FirstRanker.com ---

CS6512 - INTERNET PROGRAMMING LABORATORY

V SEMESTER - R 2013

LABORATORY MANUAL

Name : _________________________________________________

Register No.: _________________________________________________

--- Content provided by‍ FirstRanker.com ---

Section : _________________________________________________


VISION

College of Engineering is committed to provide highly disciplined, conscientious and enterprising professionals conforming to global standards through value based quality education and training.

MISSION

  • To provide competent technical manpower capable of meeting requirements of the industry
  • --- Content provided by⁠ FirstRanker.com ---

  • To contribute to the promotion of Academic Excellence in pursuit of Technical Education at different levels
  • To train the students to sell his brawn and brain to the highest bidder but to never put a price tag on heart and soul

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

VISION

To strive for acquiring, applying and imparting knowledge in Computer Science and Engineering through quality education and to provide enthusiastic professionals with commitment

--- Content provided by​ FirstRanker.com ---

MISSION

  • To educate the students with the state-of-the-art technologies to meet the growing challenges of the electronics industry
  • To carry out research through continuous interaction with research institutes and industry, on advances in communication systems
  • To provide the students with strong ground rules to facilitate them for systematic learning, innovation and ethical practices

PROGRAMME EDUCATIONAL OBJECTIVES (PEOS)

--- Content provided by​ FirstRanker.com ---

  1. Fundamentals

    To impart students with fundamental knowledge in Mathematics, Science and fundamentals of engineering that will would them to be successful professionals

  2. Core Competence

    To provide students with sound knowledge in engineering and experimental skills to identify complex software problems in industry and to develop practical solution for them

  3. Breadth

    To provide relevant training and experience to bridge the gap between theory and practice this enables to find solutions for real time problem in industry and organization and to design products requiring interdisciplinary skills

    --- Content provided by⁠ FirstRanker.com ---

  4. Professionalism skills

    To bestow students with adequate training and provide opportunities to work as team that will build up their communication skills, individual leadership and supportive qualities and to develop them to adapt and work in ever changing technologies

  5. Lifelong Learning

    To develop the ability of students to establish themselves as professionals in Computer Science and Engineering and to create awareness about the need for lifelong learning and pursuing advanced degrees

  6. --- Content provided by‌ FirstRanker.com ---


PROGRAMME OUTCOMES (POS)

  1. To apply basic knowledge of Mathematics, Science and Engineering fundamentals in Computer Science and Engineering field
  2. To design and conduct experiments as well as to analyze and interpret and apply the same in the career
  3. To design and develop innovative and creative software applications
  4. To understand a complex real world problems and develop an efficient practical solutions
  5. --- Content provided by‌ FirstRanker.com ---

  6. To create, select and apply appropriate technique, resources, modern engineering and IT tools
  7. To understand their roles as professionals and give the best to the society
  8. To develop a system that will meet expected need with realistic constraints such as economical, environmental, social, political, ethical, safe and sustainable
  9. To communicate effectively and make others understand exactly what they are trying to convey in both verbal and written forms
  10. To engage lifelong learning and exhibit their technical skills
  11. --- Content provided by‌ FirstRanker.com ---

  12. To develop and manage projects in multidisciplinary environments

CS6512-INTERNET PROGRAMMING LABORATORY

SYLLABUS

COURSE OBJECTIVES

  • Be familiar with Web page design using HTML/XML and style sheets
  • --- Content provided by‌ FirstRanker.com ---

  • Be exposed to creation of user interfaces using Java frames and applets
  • Learn to create dynamic web pages using server side scripting.
  • Learn to write Client Server applications
  • Be familiar with the frameworks JSP Strut, Hibernate, Spring
  • Be exposed to creating applications with AJAX
  • --- Content provided by​ FirstRanker.com ---

LIST OF EXPERIMENTS:

WEBPAGE CONCEPTS

a) Create a web page with the following using HTML

  1. To embed a map in a web page
  2. To fix the hot spots in that map
  3. --- Content provided by‍ FirstRanker.com ---

  4. Show all the related information when the hot spots are clicked
  1. Create a page with a link at the top of it that when clicked will jump all the way to the bottom of the page. At the bottom of the page there should be a link to jump back to the top of the page.
  2. Create a page for our college website.
  3. Display an image that when clicked will link to itself and will display the image in the browser by itself.
  4. Display five different images. Skip two lines between each image. Each image should have a title.
  5. --- Content provided by​ FirstRanker.com ---

  6. Print a paragraph that is a description of a book, include the title of the book as well as its author. Names and titles should be underlined, adjectives should be italicized and bolded.

b) Create a web page with the following:

  1. Cascading style sheets
  2. Embedded style sheets
  3. Inline style sheets. Use our college information for the web pages
  4. --- Content provided by​ FirstRanker.com ---

  1. Create a Navigation bar (with dropdown) with CSS
  2. Create a CSS3 based Zebra striped table
  3. Create a Symposium Registration / Feedback Form
  4. Create a page our college information for the web page using CSS types
  5. Create a page of How to set the background-attachment property whether a background image is fixed or scrolls with the rest of the page?
  6. --- Content provided by⁠ FirstRanker.com ---


c) Create and save an XML document at the server, which contains 10 users Information. Write a Program, which takes user Id as an input and returns the User details by taking the user information from the XML document.

  1. Create and save an XML document to view an food menu.
  2. Create a XML Document for the Business Letter
  3. A business has a telephone directory that records the first and last name, telephone number and email address of everyone working in the firm. Departments are the main organizing unit of the firm so the telephone directory is typically displayed in department order and shows for each department the contact phone and fax number and email address.
  4. Create an XML document for the student database
  5. --- Content provided by FirstRanker.com ---

  6. Create an XML schema to describe a museum (use elements of the museum entity defined in the last chapter, and add to it a country element). Specify a set of acceptable values as a country and its calendar with date, opening time, and closing time.

SOCKETS & SERVLETS

a) Write programs in Java using sockets to implement the following:

  1. HTTP request
  2. FTP
  3. --- Content provided by‌ FirstRanker.com ---

  4. SMTP
  5. POP3
  1. Write a Java program of creating a simple SMTP (simple mail transfer protocol) client, and a simple echo server for communication.
  2. Write a Java program of Greeting Client is a client program that connects to a server by using a socket and sends a greeting, and then waits for a response.
  3. Write a Java program of file transfer from local to remote.
  4. --- Content provided by‍ FirstRanker.com ---

  5. Write a simple HTTP Server-Client program in Java.
  6. Write a Java program of how to send an HTTP POST request with a Socket. A socket is an endpoint for communication between two machines. Sending an HTTP POST request using a Socket.

b) Write a program in Java for creating simple chat application with datagram sockets and datagram packets

c) Write programs in Java using Servlets:

  1. To invoke servlets from HTML forms
  2. --- Content provided by‍ FirstRanker.com ---

  3. To invoke servlets from Applets
  1. Write a Java Servlet program of creating a simple counter.
  2. Write a Java Servlet program of Creating a Login page with parameter passing into the server.
  3. Write a Java Servlet shows a servlet that uses client pull to display the current time, updated every 10 seconds.
  4. Write a Java Servlet generates and returns a GIF image. The graphic says "Hello World!"
  5. --- Content provided by FirstRanker.com ---


  1. Write a Java Servlet uses session tracking to count the number of times a client has accessed it. The servlet also displays all the bindings for the current session, just because it can.

d) Write programs in Java to create three-tier applications using servlets for conducting on-line examination for displaying student mark list. Assume that student information is available in a database which has been stored in a database server.

  1. To create the Employees table in TEST database for online quiz.
  2. To create the login database and access it through online link.
  3. To create the Students database for their mark list.
  4. --- Content provided by​ FirstRanker.com ---

  5. To create the Library database.

e) Write a program to lock servlet itself to a particular server IP address and port number. It requires an init parameter key that is appropriate for its servlet IP address and port before it unlocks itself and handles a request.

f) Session tracking using hidden form fields and Session tracking for a hit count

  1. To create the validation on the login form using Javascript method in JSP page.
  2. Session Tracking using JSP.
  3. --- Content provided by⁠ FirstRanker.com ---

  4. Session Tracking using Servlet.
  5. Write a JSP program of designing Scientific Calculator.
  6. Write a JSP program of displaying cookies information

g) Install TOMCAT web server. Convert the static webpages of programs 1&2 into dynamic web pages using servlets (or JSP) and cookies. Hint: Users information (user id, password, credit card number) would be stored in web.xml. Each user should have a separate Shopping Cart

ADVANCE CONCEPTS:

--- Content provided by​ FirstRanker.com ---

a) Implement a simple program using following frameworks

  1. JSP Struts Framework
  2. Hibernate
  3. Spring

b) Explore the following application in AJAX: Searching in real time with live searches, Getting the answer with auto complete, Chatting with friends ,Dragging and dropping with Ajax, Getting instant login feedback, Ajax-enabled popup menus, Modifying Web pages on the fly

--- Content provided by FirstRanker.com ---

c) Write a web services for finding what people think by asking 500 people's opinion for any consumer


d) Write a web services for predicting for any product sales

  1. Write a hello world program of AJAX JQuery.
  2. Write a calculator program of JSP Struts.
  3. Create, Publish and Displaying a web service of product sales.
  4. --- Content provided by​ FirstRanker.com ---

  5. To display a message through Spring MVC framework.
  6. Write a Program of Ajax with PHP database and displaying it.

WEBPAGE CONCEPTS

d) Create a web page with the following using HTML

  1. To embed a map in a web page
  2. --- Content provided by​ FirstRanker.com ---

  3. To fix the hot spots in that map
  4. Show all the related information when the hot spots are clicked

e) Create a web page with the following:

  1. Cascading style sheets
  2. Embedded style sheets
  3. --- Content provided by FirstRanker.com ---

  4. Inline style sheets. Use our college information for the web pages

f) Create and save an XML document at the server, which contains 10 users Information. Write a Program, which takes user Id as an input and returns the User details by taking the user information from the XML document

SOCKETS & SERVLETS

b) Write programs in Java using sockets to implement the following:

  1. HTTP request
  2. --- Content provided by‌ FirstRanker.com ---

  3. FTP
  4. SMTP
  5. POP3

b) Write a program in Java for creating simple chat application with datagram sockets and datagram packets

d) Write programs in Java using Servlets:

--- Content provided by‌ FirstRanker.com ---

  1. To invoke servlets from HTML forms
  2. To invoke servlets from Applets

h) Write programs in Java to create three-tier applications using servlets for conducting on-line examination for displaying student mark list. Assume that student information is available in a database which has been stored in a database server

i) Write a program to lock servlet itself to a particular server IP address and port number. It requires an init parameter key that is appropriate for its servlet IP address and port before it unlocks itself and


handles a request

--- Content provided by​ FirstRanker.com ---

j) Session tracking using hidden form fields and Session tracking for a hit count

k) Install TOMCAT web server. Convert the static webpages of programs 1&2 into dynamic web pages using servlets (or JSP) and cookies. Hint: Users information (user id, password, credit card number) would be stored in web.xml. Each user should have a separate Shopping Cart

ADVANCE CONCEPTS:

e) Implement a simple program using following frameworks

  1. JSP Struts Framework
  2. --- Content provided by​ FirstRanker.com ---

  3. Hibernate
  4. Spring

f) Explore the following application in AJAX: Searching in real time with live searches, Getting the answer with auto complete, Chatting with friends ,Dragging and dropping with Ajax, Getting instant login feedback, Ajax-enabled popup menus, Modifying Web pages on the fly

g) Write a web services for finding what people think by asking 500 people's opinion for any consumer

h) Write a web services for predicting for any product sales

--- Content provided by FirstRanker.com ---

COURSE OUTCOMES

  • Create webpage to embed an image map, fix the hot spot, show all the information in hot spots in html
  • Create a webpage with all type of cascading style sheets
  • Create a client side scripts for validating web form controls using DHTML/XML
  • Create a java program using protocol (HTTP/SMTP/FTP/POP3)
  • --- Content provided by‌ FirstRanker.com ---

  • Create a java program using applet and implementation in java to invoke servlets from HTML/ Applets
  • Implement program in java to create three tier Architecture using JSP and database for Conducting online examination and also displaying student mark list for the student
  • Session and Cookies information available in the server which is stored in JSP and Servlet
  • Implement program using XML – schema – XSLT/XSL
  • Implement a program using AJAX, Spring, Struts and Web services
  • --- Content provided by‍ FirstRanker.com ---


CS6512-INTERNET PROGRAMMING LABORATORY

CONTENTS

Sl.No. Name of the Experiment Page No.
CYCLE 1 - WEB PAGE CONCEPTS
1. Image Mapping 7
2. Style Sheets 10
3. Web Form Validation of Xml Using Java Script 14
4. Protocols
a) Http Request 17
b) FTP-File Transfer Protocol 18
c) SMTP- Simple Mail Transfer Protocol 20
d) POP3- Post Office Protocol 21
CYCLE 2 - SOCKETS AND SERVLETS
5. Chat Application Using UDP 23
6. Invoking Servlets
a) Invoke Servlets From Html 25
b) Invoke Servlets From Applets 27
7. Online Data Base Application Using Servlet 30
8. Locking Server Itself 33
9. Session Tracking In Servlets 36
10. Sessions and Cookies In Servlet 38
CYCLE 3 - ADVANCE CONCEPTS
11. JSP Struts Framework 41
12. Spring Framework 43
13. Ajax Application 45
14. Airline Reservation System Using Web Services 47
MINI PROJECTS
15. Design the fields to map the location of College of Engineering Website
16. Design Online Quiz like Moodle Web Site
17. Inventory Management System using JSP with XAMPP
18. Design a Website of displaying contents in a Book using PHP with XAMPP
19. Design and Implement a Library Management System

Expt. No.: 1 IMAGE MAPPING

  1. Write the syntax and tags about tables.
  2. What are the various types of lists?
  3. --- Content provided by‌ FirstRanker.com ---

  4. Write the description starts with <dd>.
  5. Write about frames.
  6. Write the scenario of links.
  7. Can you list out the linking tags in HTML?
  8. Define - HTML
  9. --- Content provided by‌ FirstRanker.com ---

  10. Write the syntax of href?
  11. Compare HTML and XHTML.
  12. What is URL?

Expt.No.: 2 STYLE SHEETS

  1. Describe the Syntax about External / Internal Style Sheets.
  2. --- Content provided by‌ FirstRanker.com ---

  3. Describe the Syntax about Inline Style Sheets.
  4. What is CSS?
  5. Define- Style sheet.
  6. Discuss about embedded style sheets?
  7. What are the style precedence rules when using multiple approaches?
  8. --- Content provided by‍ FirstRanker.com ---

  9. List down the ways of including style information in a document.
  10. Define cascading.

Expt. No.: 3 WEB FORM VALIDATION OF XML USING JS

  1. Describe about Java Scripts
  2. Write about XML Elements.
  3. --- Content provided by‍ FirstRanker.com ---


  1. What is XML?
  2. Differentiate XML From HTML.
  3. What is DHTML?
  4. What are the form tags available in html?
  5. What is the use of submit button?
  6. --- Content provided by‌ FirstRanker.com ---

  7. What is URN?
  8. What is URI?
  9. Differentiate client side scripting from server side scripting.

Expt.No. 4: PROTOCOLS

  1. What is POP3?
  2. --- Content provided by‍ FirstRanker.com ---

  3. What are the steps to execute POP3?
  4. What is FTP?
  5. What is the difference between GET and POST method?
  6. What is meant by http protocol?
  7. How to make the connection with TCP?
  8. --- Content provided by​ FirstRanker.com ---

  9. Limitations of HTTP.
  10. What is HTTP Session?
  11. What is meant by loop back address?
  12. What are the issues of next generation IP?

Expt.No.5: IMPLEMENTATION OF CHAT APPLICATION - UDP

--- Content provided by‌ FirstRanker.com ---

  1. What is meant by Socket :
  2. What are the two basic protocols used for transmitting the message?
  3. What is meant by UDP?

  1. What is the major difference between UDP and TCP/IP Protocol?
  2. What is IP address?
  3. --- Content provided by​ FirstRanker.com ---

  4. What is OSI?
  5. What is router?
  6. What do you mean by hub?
  7. What is URL?
  8. Define packet switched networks.
  9. --- Content provided by​ FirstRanker.com ---

Expt.No.6: INVOKE SERVLETS FROM HTML, APPLET

  1. What is applet?
  2. Explain applet life cycle?
  3. How will you establish the connection between the servlet and an applet?
  4. Can we pass parameters to an applet using <param? Tag ?
  5. --- Content provided by​ FirstRanker.com ---

  6. Compare Client and Server.
  7. Compare swing and applet?
  8. Differentiate between Servlet andApplet.

Expt.No.:7 ONLINE DATA BASE APPLICATION USING SERVLET

  1. What are servlets?
  2. --- Content provided by‍ FirstRanker.com ---

  3. Explain servlet life cycle methods?
  4. When doGet() method of servlet to be called?
  5. When doPost() method of servlet to be called?
  6. How to make database connection with servlet?
  7. What is HttpSession?
  8. --- Content provided by​ FirstRanker.com ---

  9. What is CGI?
  10. What are the SQL commands used for database in servlet?

  1. What is tomcat server?
  2. How sessions and cookies are used in servlet?

Expt.No.8: LOCKING SERVER ITSELF

--- Content provided by‌ FirstRanker.com ---

  1. How to read name of all filters in servlet?
  2. What is HTTPServletRequest class?
  3. What is a servlet?
  4. What are common tasks performed by servlet container?
  5. Differentiate servlet config from servletcontext?
  6. --- Content provided by FirstRanker.com ---

  7. What is URL Encoding?
  8. When doGet() method of servlet to be called?
  9. When doPost() method of servlet to be called?

Expt.No.: 9 SESSION TRACKING IN SERVLET

  1. How to read name of all fileters in servlet?
  2. --- Content provided by⁠ FirstRanker.com ---

  3. What is HTTPServletRequest class?
  4. What is a servlet?
  5. What are common tasks performed by servlet container?
  6. Differentiate servlet config from servletcontext?
  7. What are the phases of servlet life cycle?
  8. --- Content provided by⁠ FirstRanker.com ---

  9. What is URL Encoding?
  10. When doGet() method of servlet to be called?
  11. When doPost() method of servlet to be called?
  12. What is the need for tracking session?

Expt.No.: 10 SESSIONS & COOKIES IN SERVLET

--- Content provided by​ FirstRanker.com ---

  1. What are cookies?
  2. How to create a cookie using servlet?
  3. How to read a cookie using servlet?
  4. How do we get the database connection with servlet?
  5. What are the uses of Servlet?
  6. --- Content provided by‍ FirstRanker.com ---

  7. What is the use of servlet wrapper class?
  8. What do you mean byJDBC?
  9. Define ODBC.
  10. List down the ways ODBC differ fromJDBC?
  11. List down the types of drivers available in JDBC.
  12. --- Content provided by FirstRanker.com ---

Expt.No.11: JSP STRUTS FRAMEWORK

  1. What are the main components in struts application?
  2. Why we use Struts?
  3. What is strut?
  4. What are the components of struts?
  5. --- Content provided by‍ FirstRanker.com ---

Expt.No.12 SPRING FRAMEWORK

  1. What is Spring Framework?
  2. What are some of the important features and advantages of Spring Framework?
  3. Name some of the important Spring Modules?
  4. What is spring?
  5. --- Content provided by FirstRanker.com ---

  6. What is spring IOC container?
  7. What are spring beans?

  1. What bean scopes does spring support?
  2. What is Spring DAO?

Expt.No. 13: PROGRAM USING AJAX

--- Content provided by‍ FirstRanker.com ---

  1. What is Ajax?
  2. What are Ajax applications?
  3. What are the advantages of Ajax?
  4. What are the disadvantages of AJAX?
  5. What is update panel?
  6. --- Content provided by FirstRanker.com ---

  7. What are the two methods used for cross doman ajax calls?
  8. What are the difference between ajax and javascript?
  9. What are the extender controls?
  10. What is ajax framework?
  11. What are all the browsers support ajax?
  12. --- Content provided by⁠ FirstRanker.com ---

Expt.No.14: AIR LINE RESERVATION SYSTEM USING WS

  1. What is REST?
  2. What is WSDL?
  3. What is the SOAP encoding?
  4. How can one access a class as a web service?
  5. --- Content provided by‍ FirstRanker.com ---

  6. What are the steps performed by the client to access a web service?
  7. Can you name some standards used in web services?
  8. What are distributed technologies?

www.FirstRanker.com


--- Content provided by​ FirstRanker.com ---


This download link is referred from the post: Anna University B.Tech Lab Manual