Page 1 of 1

About Question enthuware.jwpv6.2.1162 :

Posted: Sat Jul 04, 2015 7:14 pm
by ednilsoncampos
This question repeated in this question 52

Re: About Question enthuware.jwpv6.2.1162 :

Posted: Sun Jul 05, 2015 1:19 am
by admin
One is talking about ServletResponse and another one is about HttpServletResponse. Both are API based questions about how to set content type. Repeated with minor changes because it is important for the exam.

Re: About Question enthuware.jwpv6.2.1162 :

Posted: Mon Jun 20, 2016 8:47 pm
by himaiMinh
But I think setHeader is also a correct option.
HttpServletResponse.setHeader("Content-Type", "....") will work too.

Re: About Question enthuware.jwpv6.2.1162 :

Posted: Mon Jun 20, 2016 8:55 pm
by admin
Plese read the explanation that is given with this option. The question is about ServletRequest and not about HttpServletRequest.