• Post Reply Bookmark Topic Watch Topic
  • New Topic

JWebplus : Question ID :994963696517  RSS feed

 
Nazmul Huda Sarkar
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Paul Anilprem
Enthuware Software Support
Ranch Foreman
Posts: 3991
32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!