About Question enthuware.jwpv6.2.1162 :

Moderator: admin

Post Reply
ednilsoncampos
Posts: 9
Joined: Wed Jun 17, 2015 6:19 pm
Contact:

About Question enthuware.jwpv6.2.1162 :

Post by ednilsoncampos »

This question repeated in this question 52

admin
Site Admin
Posts: 10046
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1162 :

Post 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.
If you like our products and services, please help us by posting your review here.

himaiMinh
Posts: 358
Joined: Fri Nov 29, 2013 8:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1162 :

Post by himaiMinh »

But I think setHeader is also a correct option.
HttpServletResponse.setHeader("Content-Type", "....") will work too.

admin
Site Admin
Posts: 10046
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1162 :

Post by admin »

Plese read the explanation that is given with this option. The question is about ServletRequest and not about HttpServletRequest.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 23 guests