Which of the following statements is/are true with reference to java servlets?
(i) A Servlet is a Java program that runs without a web server.
(ii) It receives the requests and responds to them using related protocols (usually HTTP).
- AOnly (i)
- BBoth (i) and (ii)
- CNeither (i) nor (ii)
- DOnly (ii)
Correct answer: D