Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why setContentType go first?

843841Jun 23 2004 — edited Jun 24 2004
Hello folks,,

In a call of the method setContentType in a HttpServletResponse, why is only set if this method is called before getWriter is called ????

Thanks a lot...

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 22 2004
Added on Jun 23 2004
2 comments
131 views