About Question enthuware.jwpv6.2.1162 :
Moderator: admin
-
- Posts: 9
- Joined: Wed Jun 17, 2015 6:19 pm
- Contact:
About Question enthuware.jwpv6.2.1162 :
This question repeated in this question 52
-
- Site Admin
- Posts: 10090
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1162 :
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.
-
- Posts: 358
- Joined: Fri Nov 29, 2013 8:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1162 :
But I think setHeader is also a correct option.
HttpServletResponse.setHeader("Content-Type", "....") will work too.
HttpServletResponse.setHeader("Content-Type", "....") will work too.
-
- Site Admin
- Posts: 10090
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1162 :
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.
Who is online
Users browsing this forum: No registered users and 6 guests