1 Reply Latest reply: Dec 4, 2012 10:14 AM by Tolls RSS

    response.setContentType - question

    OAF_Monkey
      Hello,

      I have a servelet where I am setting the content type as follows:

      response.setContentType("image/jpg");

      What is there are difference between doing the following with respect to the above (if any)?
      1.
      response.setContentType("image/jpeg");
      2.
      response.setContentType("image/JPG");
      3.
      response.setContentType("image/JPEG");
      Thanks,