Q1. What do you mean by web server? Explain how is it distinct from the proxy server?
Q2. Describe the given in the context of JSP:
a) Request and response objects.
b) Directives.
c) Cookies and their use.
Q3. Write down a script by using JavaScript which checks if the given input for age field is in the range of 0 to 150. As well write the suitable HTML code to implement the script.
Q4. What do you mean by DTD? How is it helpful for validating the XML? Describe with the help of an illustration.
Q5. What do you mean by session management? Describe with the help of an illustration program.
Q6. Write down a program to implement the socket programming by using DataGram class in the java.