Quiz Number 10

SWE 432, Fall 2009
November 12


Consider the Vocabulary Builder application. You probably thought about the following questions while doing your recent homeworks.

  1. Can an implementation in Servlets write files on the web server? Explain.
    Answer: Sure. Servlets are server side technology, and the file system is available for read/write access, subject, of course, to access permissions.
  2. Can a Servlet write files (directly) on the client? Explain.
    Answer: No. Servlets, as server side technology, are limited to sending html pages to the client. (It is true that special files such as cookies can be written to the client.)
  3. What is a servlet container?
    Answer: It is a server side process that manages the execution of servlets.