Explanation : A Java Servlet is a server-side component that runs on the web server and extends the capabilities of a server. It is correct statement. A Java servlet can't be use interfaces classes like AWT or Swing only first statement is correct. So, option (A) is correct.
Explanation : In HTML, character entities are used to incorporate external content into a web page, such as images. This statement is wrong. Once a web server returns a cookie to a browser, the cookie will be included in all future requests from the browser to the same server. This is a also a wrong statement. Both of the statement are wrong. So, option (D) is correct.