JWebplus : Question ID :994963696517 Which method of HttpResponse would you use to set it's content type? Ans. setHeader But there is no setHeader methid in HttpResponse interface... Answer should be setContentType Any Comments ?
Nazmul<br />SCJP,SCWCD,IBM OOAD with UML
Enthuware Software Support
posted 15 years ago
But that's exactly what JWebPlus shows. setContentType() is also given as one of the correct options. And it is HttpServletResponse not HttpResponse. HTH, Paul.