This week's book giveaway is in the Features new in Java 9 forum.
We're giving away four copies of Java 9 Revealed and have Kishori Sharan on-line!
See this thread for details.
Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

setContentType  RSS feed

 
Andy Smith
Ranch Hand
Posts: 239
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose I use setContentType before sending out amy response
and in between i again use setContentType and change the content Type ...
Will it affect the response in anyways?
 
Ko Ko Naing
Ranch Hand
Posts: 3178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, it is totally legal to change your mind to set another content type before sending any response...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!